Commit Graph

13 Commits

Author SHA1 Message Date
Henrik Rydgård
2675d6ea43
Input event and device enums (#17514)
* Switch deviceID from int to enum InputDeviceID, globally

* Switch axisId to enum InputAxis

* Change int keycodes to InputKeyCode where it makes sense.

* SDL input buildfix

* SDL keycode buildfix

* Switch on enum warning fixes

* Qt keycode buildfix

* iOS keycode buildfix

* UWP keycode buildfix

* More iOS buildfix

* More iOS buildfix

* Update DinputDevice.cpp
2023-05-26 18:40:13 +02:00
Henrik Rydgård
0e1c42ce70 Plumb multimappings all the way through. 2023-04-01 13:50:57 +02:00
Henrik Rydgård
d00809ae53 Rename KeyDef to InputMapping and give it responsibility for Axis encoding 2023-03-29 11:59:31 +02:00
Henrik Rydgård
287da42d5e Add GAS/BRAKE keymappings to Xinput default maps. Fixes #15992 2022-11-23 12:43:51 +01:00
Lubos
428145c4b9 OpenXR - 2D mode hack mappable (using screen keycode) 2022-08-15 16:53:00 +02:00
Lubos
8f2904ecac OpenXR - Default device config added 2022-07-24 15:38:30 +02:00
Henrik Rydgård
123a0ef0c2 Better default control config for the Retroid handheld Android console 2022-04-30 19:24:58 +02:00
Cameron Cawley
26203552b4 Use System_GetPropertyInt to report the keyboard layout 2022-01-10 00:11:08 +00:00
Henrik Rydgård
82a96dbc86 No R2 on xbox controllers, remove redundant mapping. 2021-08-28 20:21:09 +02:00
Henrik Rydgård
03582b7634 Nonsensical to use the Shield pad map for Shield TV. 2021-08-28 20:17:58 +02:00
Henrik Rydgård
58e7b6bec2 Tweak defaults some more (no L2 on xbox pads..). Minor code cleanup. 2021-08-28 20:06:05 +02:00
Henrik Rydgård
b6228a1036 Add additional autoconf layout for xbox pads on Android. Revert the normal pad layout. 2021-08-28 15:38:03 +02:00
Henrik Rydgård
8cab56c948 Move keymap defaults to a separate file. Not exactly a clean separation though. 2021-08-28 15:12:10 +02:00