summaryrefslogtreecommitdiff
path: root/src/input_common (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #5869 from german77/mousePanningGravatar bunnei2021-02-113-3/+39
|\ | | | | input_common: Add mouse panning
| * Add mouse panningGravatar german2021-02-073-3/+39
| |
* | udp: Silence unused member variable warningsGravatar Lioncash2021-02-091-2/+2
| | | | | | | | Simply mark them as unused for now.
* | udp/client: Define ClientData constructor/destructor in cpp fileGravatar Lioncash2021-02-092-0/+7
| | | | | | | | | | Prevents compilation errors on clang 12 due to incomplete types within a unique_ptr member.
* | Add SL SR vectors, change dual joycon view, add missing raw data from ↵Gravatar german2021-02-062-0/+14
| | | | | | | | keyboard/mouse
* | Make settings controller image change with controller inputGravatar german2021-02-062-0/+20
|/
* analog_from_button: Fix update_thread.join exceptionGravatar ameerj2021-01-291-5/+9
| | | | | | This commit aims to address an exception that occurs when trying to join the Analog object's update_thread. By using an atomic bool for the status of the update thread, we ensure its value is consistent across the threads accessing it.
* sdl_impl: Set the maximum vibration duration to 1 secondGravatar Morph2021-01-231-2/+6
|
* Always initialize keyboard inputGravatar german2021-01-151-10/+8
|
* Add mutitouch support for touch screensGravatar german2021-01-153-17/+14
|
* Allow to return up to 16 touch inputs per engineGravatar german2021-01-155-92/+116
|
* general: Fix various spelling errorsGravatar Morph2021-01-024-9/+9
|
* Merge pull request #5265 from german77/port5509Gravatar bunnei2020-12-301-2/+45
|\ | | | | Port citra-emu/citra#5509 "Look at direction of analog axis travel instead of instantaneous sample"
| * Port citra-emu/citra#5509Gravatar german2020-12-301-2/+45
| |
* | Merge pull request #5236 from gal20/udp_client_patchGravatar bunnei2020-12-291-0/+5
|\ \ | | | | | | input_common: process udp packets only for the correct pad
| * | udp client: process packets only for the correct padGravatar gal202020-12-271-0/+5
| | |
* | | Allow to invert analog axis with right clickGravatar german2020-12-263-17/+62
|/ /
* | Merge pull request #5020 from german77/AnalogfromButtonFixGravatar Morph2020-12-081-1/+21
|\ \ | |/ |/| Disable analog joystick from buttons by default
| * Disable analog joystick from buttons by defaultGravatar german2020-12-071-1/+21
| |
* | mouse_poller: Remove unused includesGravatar Lioncash2020-12-031-3/+1
| |
* | mouse_input: Invert conditional in UpdateYuzuSettings()Gravatar Lioncash2020-12-031-4/+6
| | | | | | | | Allows the struct to be constructed in place.
* | mouse_input: Remove two casts and amend some formattingGravatar Lioncash2020-12-031-11/+14
| | | | | | | | | | Removes the use of two static casts and improves the readability of some vectors slightly.
* | mouse_input: Resolve a -Wdocumentation warningGravatar Lioncash2020-12-031-1/+1
| |
* | mouse_input: Remove unused includesGravatar Lioncash2020-12-032-7/+3
| |
* | Merge pull request #4937 from german77/multiUDPGravatar bunnei2020-12-014-100/+149
|\ \ | | | | | | InputCommon: Add multiple udp server support
| * | Add multiple udp server supportGravatar german2020-11-254-100/+149
| | |
* | | Merge pull request #5047 from german77/MouseInputGravatar LC2020-12-011-6/+8
|\ \ \ | | | | | | | | InputCommon: Fix implicit conversion in mouse input
| * | | Fix implicit conversion in mouse inputGravatar german2020-11-301-6/+8
| | | |
* | | | Merge pull request #4939 from german77/MouseInputGravatar bunnei2020-11-299-242/+697
|\| | | | |_|/ |/| | InputCommon: Implement full mouse support
| * | Implement full mouse supportGravatar german2020-11-259-242/+697
| | |
* | | input_common: ignore some Clang warnings after 5c4774e8ce1dGravatar Jan Beich2020-11-251-2/+2
| |/ |/| | | | | | | error: unknown warning option '-Werror=unused-but-set-parameter'; did you mean '-Werror=unused-parameter'? [-Werror,-Wunknown-warning-option] error: unknown warning option '-Werror=unused-but-set-variable'; did you mean '-Werror=unused-const-variable'? [-Werror,-Wunknown-warning-option]
* | Merge pull request #4905 from german77/AnalogFromButtonGravatar bunnei2020-11-241-19/+103
|\ \ | | | | | | Allow to dial any angle with digital joystick
| * | fix minor clang errorGravatar german2020-11-101-1/+1
| | |
| * | Allow to dial any angle with digital joystickGravatar german2020-11-081-19/+103
| | |
* | | input_common: Fix typo in gc_poller.cpp with [[maybe_unused]].Gravatar bunnei2020-11-231-2/+2
| | |
* | | input_common: Add more missing [[maybe_unused]] from #4927.Gravatar bunnei2020-11-233-4/+6
| | |
* | | input_common: Treat warnings as errorsGravatar Lioncash2020-11-227-9/+22
| | | | | | | | | | | | | | | Migrates over warnings as errors for input common to match how the common library treats warnings as errors.
* | | Modify rumble amplificationGravatar german772020-11-192-4/+3
| |/ |/|
* | Merge pull request #4866 from Morph1984/mjolnir-p3-prodGravatar bunnei2020-11-1710-107/+177
|\ \ | | | | | | Project Mjölnir: Part 3 - Controller Profiles and Vibration Rework
| * | sdl_impl: Pump SDL Events at 1000 HzGravatar Morph2020-11-151-1/+1
| | |
| * | sdl_impl: Revert to the "old" method of mapping sticksGravatar Morph2020-11-151-32/+13
| | | | | | | | | | | | | | | | | | 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).
| * | controllers/npad: Remove the old vibration filterGravatar Morph2020-11-151-15/+0
| | | | | | | | | | | | Previously we used a vibration filter that filters out amplitudes close to each other. It turns out there are cases where this results into vibrations that are too inaccurate. Remove this and move the 100Hz vibration filter (Only allowing a maximum of 100 vibrations per second) from sdl_impl to npad when enable_accurate_vibrations is set to false.
| * | input_common: Add VibrationDevice and VibrationDeviceFactoryGravatar Morph2020-11-159-46/+159
| | | | | | | | | | | | | | | | | | 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.
| * | configure_input: Add per-player vibrationGravatar Morph2020-11-151-0/+3
| | | | | | | | | | | | | | | | | | | | | Allows for enabling and modifying vibration and vibration strength per player. Also adds a toggle for enabling/disabling accurate vibrations. Co-authored-by: Its-Rei <kupfel@gmail.com>
| * | controllers/npad: Add heuristics to reduce rumble state changesGravatar Morph2020-11-151-29/+25
| | | | | | | | | | | | | | | Sending too many state changes in a short period of time can cause massive performance issues. As a result, we have to use several heuristics to reduce the number of state changes to minimize/eliminate this performance impact while maintaining the quality of these vibrations as much as possible.
| * | configure_input_player: Change "Defaults" button behaviorGravatar Morph2020-11-151-8/+0
| | | | | | | | | | | | | | | RestoreDefaults() now restores the selected devices' mappings using UpdateMappingWithDefaults(). This allows us to move the keyboard mapping from RestoreDefaults() to UpdateMappingWithDefaults().
| * | udp/client: Reduce testing period to 5 secondsGravatar Morph2020-11-151-1/+1
| | |
| * | configure_input_player: Implement input exclusivity and persistenceGravatar Morph2020-11-151-3/+3
| |/ | | | | | | 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".
* | motion_input: Mark constructor as explicitGravatar Lioncash2020-11-151-1/+1
| |
* | motion_input: Mark member functions as [[nodiscard]] where applicableGravatar Lioncash2020-11-151-10/+11
|/