aboutsummaryrefslogtreecommitdiff
path: root/src/yuzu/configuration/configure_input_player.cpp
AgeCommit message (Collapse)Author
2021-03-06Add toggle button option for normal buttonsgerman
2021-03-05Enable button toggle for keyboard in the modifier buttongerman
2021-02-27inputCommon: Mouse fixesgerman77
2021-02-07hid: Implement GC controllergerman
2021-02-06Make settings controller image change with controller inputgerman
2021-02-06Merge pull request #5326 from german77/hidUpdate1bunnei
HID: Update the HID service to match more closely to switchbrew part 1
2021-02-03Fix npad struct to match switchbrewgerman
2021-02-03Always update handheld configgerman
2021-01-23Fix connect and disconnect controller eventsgerman
2021-01-17Always update configuration for handheldgerman
2021-01-01configure_input: Modify controller connection delayMorph
Increases the controller connection delay to 60ms and refactors it to attempt to disconnect all controllers prior to connecting all controllers in HID.
2020-12-26Allow to invert analog axis with right clickgerman
2020-11-29Merge pull request #4939 from german77/MouseInputbunnei
InputCommon: Implement full mouse support
2020-11-25Implement full mouse supportgerman
2020-11-20configure_input_player: Use the npad style set to show the available controllersMorph
This will reduce the likelihood of an invalid controller type to be set within a game
2020-11-17configure_input_player: Use static qualifier for IsProfileNameValid()Lioncash
This is a static member function, so we don't need use an existing instance to call this function.
2020-11-15configure_input: Accommodate for the mouse input device engineMorph
2020-11-15configure_input: Update the input profiles for other player tabsMorph
2020-11-15general: Fix compiler warnings on linux and miscellaneous changesMorph
2020-11-15sdl_impl: Revert to the "old" method of mapping sticksMorph
Not all controllers have a SDL_GameController binding. This caused controllers not present in the SDL GameController database to have buttons mapped instead of axes. Furthermore, it was not possible to invert the axes when it could be useful such as emulating a horizontal single joycon or other potential cases. This allows us to invert the axes by reversing the order of mapping (vertical, then horizontal).
2020-11-15applets/controller: Change the input button to create input profilesMorph
Co-authored-by: Its-Rei <kupfel@gmail.com>
2020-11-15input: Disconnect a controller prior to connecting a new oneMorph
Some games do not respond to a change in controller type if 1) The controller is not disconnected prior to being reconnected and/or 2) The controller is reconnected instantly after being disconnected. Since it is not possible to change controllers instantly on hardware and requiring a disconnect prior to connecting a new one, we should emulate this as well with a small delay, fixing the aforementioned issue.
2020-11-15input_common: Add VibrationDevice and VibrationDeviceFactoryMorph
A vibration device is an input device that returns an unsigned byte as status. It represents whether the vibration device supports vibration or not. If the status returns 1, it supports vibration. Otherwise, it does not support vibration.
2020-11-15configure_input_player: Change "Defaults" button behaviorMorph
RestoreDefaults() now restores the selected devices' mappings using UpdateMappingWithDefaults(). This allows us to move the keyboard mapping from RestoreDefaults() to UpdateMappingWithDefaults().
2020-11-15settings: Preparation for per-game input settingsMorph
2020-11-15input_profiles: Implement input profilesMorph
2020-11-15configure_input_player: Implement input exclusivity and persistenceMorph
With this, the "Input Devices" combobox should accurately reflect the input device being used and disallows inputs from other input devices unless the input device is set to "Any".
2020-10-20configure_input_player: Fix modifier buttonsMorph
Fix them for real this time, now they finally work.
2020-09-18configure_input_player: Fixes motion mapping using ConfigureButtonClickMorph
2020-09-17configure_input_player: Re-add "Clear" context menu optionMorph
The context menu was removed in Mjölnir Part 1 as part of the input rewrite as we were unaware of it's usage statistics. However, as this was the only way to clear the inputs of individual buttons, this PR will re-add it back in.
2020-09-17Merge pull request #4594 from german77/MotionHIDbunnei
hid/configuration: Implement motion controls to HID
2020-09-10Merge pull request #4608 from lioncash/sign3bunnei
configure_input_player: Resolve sign conversion warnings in UpdateMappingWithDefaults()
2020-09-05configure_input: Hook up the motion button and checkboxMorph
This allows toggling motion on or off, and allows access to the motion configuration. Also changes the [waiting] text for motion buttons to Shake! as this is how motion is connected to a player.
2020-09-04Add cemu hook changes related to PR #4609german
2020-09-04configure_input_player: Show/hide motion buttons based on the controllerMorph
2020-09-04Include HID and configuration changes related to motiongerman
2020-08-29configure_input_player: Resolve sign conversion warnings in ↵Lioncash
UpdateMappingWithDefaults() Prevents sign mismatch warnings in the loop conditionals.
2020-08-29yuzu/configuration: Fix index out of bounds for default_analogsMorph
2020-08-27input_common: Eliminate most global stateLioncash
Abstracts most of the input mechanisms under an InputSubsystem class that is managed by the frontends, eliminating any static constructors and destructors. This gets rid of global accessor functions and also allows the frontends to have a more fine-grained control over the lifecycle of the input subsystem. This also makes it explicit which interfaces rely on the input subsystem instead of making it opaque in the interface functions. All that remains to migrate over is the factories, which can be done in a separate change.
2020-08-26configure_input_player: Fix modifier scale button mappingMorph
2020-08-26configuration/input: Add support for mouse button clicksMorph
Supports the Left, Right, Middle, Backward and Forward mouse buttons.
2020-08-26Address feedbackMorph
2020-08-26Project Mjölnir: Part 1Morph
Co-authored-by: James Rowe <jroweboy@gmail.com> Co-authored-by: Its-Rei <kupfel@gmail.com>
2020-08-13General: Tidy up clang-format warnings part 2Lioncash
2020-08-03yuzu: Resolve C++20 deprecation warnings related to lambda capturesLioncash
C++20 deprecates capturing the this pointer via the '=' capture. Instead, we replace it or extend the capture specification.
2020-07-02Fix unnecessary diffsAmeer
2020-07-02Add LR triggers as axes, half press to initiate a press, add GC axis id in ↵Ameer
config, clarify some code blocks for better readability
2020-06-22Small quality of life indication that mapped button is GCAmeer
2020-06-21Singleton GC Adapter class, remove globals, fix naming conventionAmeer
Fix clang formatting Manual fix for configure_input_player formatting Add missing lib usb cmake command
2020-06-21Clang FormattingAmeer