summaryrefslogtreecommitdiff
path: root/src/input_common (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #7852 from Morph1984/new-uuidGravatar bunnei2022-02-1010-21/+21
|\ | | | | common: Revise and fix the UUID implementation
| * general: Rename NewUUID to UUID, and remove the previous UUID implGravatar Morph2022-02-0510-24/+24
| | | | | | | | This completes the removal of the old UUID implementation.
| * input/hid: Migrate to the new UUID implementationGravatar Morph2022-02-0512-37/+37
| |
* | yuzu: Add auto center on right clickGravatar german772022-02-062-4/+4
|/
* Merge pull request #7839 from german77/batteryGravatar bunnei2022-02-041-3/+2
|\ | | | | yuzu: ui: Improve battery symbols
| * yuzu: ui: Improve battery symbolsGravatar Narr the Reg2022-02-021-3/+2
| |
* | input_common: Remove unused core includeGravatar Morph2022-02-031-1/+0
| |
* | Merge pull request #7811 from german77/analog-modGravatar bunnei2022-02-031-4/+26
|\ \ | | | | | | input_common: Use attributes for analog range modifiers
| * | input_common: Use attributes for analog range modifiersGravatar german772022-01-301-4/+26
| |/
* / input_common: Add home and hard touch press buttons to UDP controllersGravatar german772022-01-302-3/+16
|/
* Merge pull request #7784 from german77/ds5Gravatar Morph2022-01-281-2/+3
|\ | | | | input_common: Add DS5 to HD rumble list
| * input_common: Add DS5 to HD rumble listGravatar Narr the Reg2022-01-261-2/+3
| |
* | Merge pull request #7770 from german77/motion-thresholdGravatar bunnei2022-01-271-4/+9
|\ \ | |/ |/| input_common: Add option to configure gyro threshold
| * input_common: Add option to configure gyro thresholdGravatar german772022-01-231-4/+9
| |
* | Merge pull request #7774 from lioncash/mappingGravatar Morph2022-01-255-13/+18
|\ \ | | | | | | input_common/main: Pass MappingData by const reference in callbacks
| * | input_common/input_engine: Ensure PadIdentifier UUIDs have a valid initial stateGravatar Lioncash2022-01-241-1/+1
| | | | | | | | | | | | | | | The default constructor of a UUID instance doesn't initialize the underlying array.
| * | input_common/input_mapping: Simplify UUID validity checksGravatar Lioncash2022-01-241-3/+3
| | | | | | | | | | | | | | | Makes the checks a little more intuitive to read and doesn't construct an extra UUID instance
| * | input_common/input_mapping: Add missing includesGravatar Lioncash2022-01-242-1/+6
| | | | | | | | | | | | Ensures that the class always sees the types it needs.
| * | input_common/input_mapping: Remove const from return valueGravatar Lioncash2022-01-244-4/+4
| | | | | | | | | | | | | | | Top-level const on a return by value can inhibit move semantics, and is unnecessary.
| * | input_common/input_mapping: Default constructorGravatar Lioncash2022-01-241-1/+1
| | |
| * | input_common/main: Pass MappingData by const reference in callbacksGravatar Lioncash2022-01-242-3/+3
| |/ | | | | | | Avoids creating unnecessary 168 byte copies per callback invocation.
* | input_common/udp_client: Replace deprecated from_string()/to_ulong() functionsGravatar Lioncash2022-01-241-2/+2
| | | | | | | | These are deprecated and make_address variants and to_uint() should be used instead.
* | input_common/udp_client: Prevent unnecessary string copiesGravatar Lioncash2022-01-242-4/+4
|/ | | | | We can also remove some redundant const on the return values, since these don't do anything
* Merge pull request #7735 from german77/udp_batteryGravatar bunnei2022-01-222-0/+25
|\ | | | | input_common: Report battery for UDP controllers
| * input_common: Report battery for UDP controllersGravatar Narr the Reg2022-01-172-0/+25
| |
* | Merge pull request #7715 from gidoly/patch-4Gravatar bunnei2022-01-181-2/+2
|\ \ | | | | | | Xbox controller default name nit pick
| * | Xbox controller default name nit pickGravatar gidoly2022-01-161-2/+2
| |/ | | | | Discord User moon lacer pointed us that official name is 'Xbox' not 'XBox'
* | Merge pull request #7725 from german77/mouse_in_motionGravatar bunnei2022-01-183-1/+47
|\ \ | | | | | | input_common: Reintroduce motion from mouse and use button names
| * | input_common: Reintroduce motion from mouse and use button namesGravatar german772022-01-163-1/+47
| |/
* | Merge pull request #7730 from v1993/patch-6Gravatar Mai M2022-01-171-1/+1
|\ \ | | | | | | input_common: nitpick about SetHatButton usage
| * | input_common: nitpick about SetHatButton usageGravatar Valeri2022-01-171-1/+1
| |/
* / input_common: fix copy-paste errorGravatar Valeri2022-01-171-1/+1
|/ | | Found by static analysis with PVS-Studio.
* Change default name for ps controllersGravatar gidoly2022-01-151-0/+6
| | | | Minor nitpick Code is from narr
* Merge pull request #7633 from german77/hotkeysGravatar bunnei2022-01-113-4/+7
|\ | | | | yuzu: Add controller hotkeys
| * yuzu: Add controller hotkeysGravatar german772022-01-063-4/+7
| |
* | Merge pull request #7687 from german77/tas_handleGravatar Morph2022-01-091-7/+24
|\ \ | | | | | | input_common: Handle errors on TAS scripts
| * | input_common: Handle errors on TAS scriptsGravatar german772022-01-081-7/+24
| |/
* | Merge pull request #7682 from german77/udp_fixGravatar bunnei2022-01-081-8/+16
|\ \ | | | | | | input_common: Fix UDP controller mappings
| * | input_common: Fix udp motion not automapping to both sidesGravatar german772022-01-071-8/+16
| |/
* / input_common: Use accelerometer data for mappingGravatar german772022-01-061-2/+10
|/
* Merge pull request #7302 from VPeruS/check-deadlockGravatar bunnei2021-12-172-43/+52
|\ | | | | [input_common] Fixed thread hang
| * [input_common] Move variable declaration closer to usageGravatar vperus2021-12-171-2/+2
| | | | | | | | | | | | | | | | MSVC supplied with VS2022 generates "warning C4189: 'CALIBRATION_THRESHOLD': local variable is initialized but not referenced" which is treated as an error. Circumvent it by moving constexpr variable directly into body of lambda function.
| * Revert of b01aa72Gravatar vperus2021-11-291-35/+39
| | | | | | | | Caused worker_thread to be stuck in Stage1Completed state until job's destruction.
| * [input_common] Add completion test for CalibrationConfigurationJobGravatar vperus2021-11-291-8/+13
| |
* | Merge pull request #7581 from lioncash/input-ifaceGravatar Narr the Reg2021-12-143-55/+70
|\ \ | | | | | | common/input: Avoid numerous large copies of CallbackStatus
| * | common/input: Avoid numerous large copies of CallbackStatusGravatar Lioncash2021-12-132-35/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | CallbackStatus instances aren't the cheapest things to copy around (relative to everything else), given that they're currently 520 bytes in size and are currently copied numerous times when callbacks are invoked. Instead, we can pass the status by const reference to avoid all the copying.
| * | input_poller: Add missing override specifiersGravatar Lioncash2021-12-131-20/+19
| | |
* | | Merge pull request #7577 from v1993/patch-2Gravatar Narr the Reg2021-12-141-3/+4
|\ \ \ | | | | | | | | input/SDL: Update SDL hints
| * | | input/SDL: Update SDL hintsGravatar Valeri2021-12-141-3/+4
| | | | | | | | | | | | | | | | | | | | SDL_HINT_JOYSTICK_HIDAPI_SWITCH_HOME_LED is no longer needed thanks to new default in SDL 2.0.18. SDL_HINT_JOYSTICK_HIDAPI_XBOX is reported to cause conflicts with native driver Xbox driver on Linux, and Xbox controllers don't benefit from hidapi anyways.
* | | | input_mapping: Amend specification of parametersGravatar Lioncash2021-12-131-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | param tags are supposed to specify the parameter name without any quoting. Silences several -Wdocumentation warnings.