Commit Graph

28 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
Nicolas Adenis-Lamarre
f32b0dc9c3 previous slot shortcut
Signed-off-by: Nicolas Adenis-Lamarre <nicolas.adenis.lamarre@gmail.com>
2023-05-25 11:32:49 +00:00
Henrik Rydgård
7594ae8785 Resurrect and refactor the AxisSwap feature. Fixes #17292 2023-04-20 10:53:11 +02:00
Henrik Rydgård
c1b5aed9b7 Cleanup, confine g_controllerMap access to KeyMap.cpp 2023-04-01 20:28:42 +02:00
Henrik Rydgård
d523005c2b Cleanup 2023-04-01 19:02:20 +02:00
Henrik Rydgård
88e73801fe Fix the binding UI to support multi-bind 2023-04-01 17:51:45 +02:00
Henrik Rydgård
8c9fee064e Display multi-mappings correctly in the mapping list 2023-04-01 15:00:22 +02:00
Henrik Rydgård
49a2c93b66 Make multi-mapping save-able, add test to verify backwards and forwards compat 2023-04-01 13:51:00 +02:00
Henrik Rydgård
0e1c42ce70 Plumb multimappings all the way through. 2023-04-01 13:50:57 +02:00
Henrik Rydgård
526b4f782d Fixes, add callback for analog virtual keys
Some fixes
2023-03-31 11:05:33 +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
534896d2ab ControlMapper: Allow overriding PSP button event handling through a callback. 2023-03-28 00:23:18 +02:00
Lubos
cd49dc6627 OpenXR - Camera adjustment using PSP keys 2022-11-07 17:13:08 +01:00
Lubos
363f102cc5 OpenXR - Add new virtual key for camera adjust 2022-10-29 20:47:29 +02:00
Unknown W. Brackets
c15c4a6967 UI: Add analog speed limit mapping.
Only shows up as a setting if mapped, to avoid cluttering settings.
2022-07-04 19:14:05 -07:00
Unknown W. Brackets
536c050943 Core: Track names of connected pad devices.
Rather than just that it's a pad.  This tries to get the identifier if
possible.
2022-07-04 19:14:04 -07:00
Henrik Rydgård
123a0ef0c2 Better default control config for the Retroid handheld Android console 2022-04-30 19:24:58 +02:00
iota97
e93cccf607 Add key bind to hotswap internal screen rotation 2022-04-23 08:52:51 +02:00
iota97
7b33325cac Double binding fix 2021-09-08 08:54:59 +02:00
iota97
f417bb93d4 Reuse translation 2021-08-30 13:13:09 +02:00
Unknown W. Brackets
e7666e472f KeyMap: Simplify UI updates.
Better to avoid tightly coupled notifications of updates.
2021-08-29 08:02:52 -07: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
Henrik Rydgård
928bc88b01 Rename Unthrottle to Fast-forward globally 2021-08-18 09:28:13 +02:00
Henrik Rydgård
aa3daca293 If it's a TV and VIRTKEY_PAUSE is not mapped to a pad control, pause on app switch. 2021-08-12 00:02:19 +02:00
Unknown W. Brackets
eca3a405b6 UI: Flip Y analog direction based on config. 2021-04-04 08:39:49 -07:00
Unknown W. Brackets
c9428975fe Windows: Normalize left and right analog stick. 2021-04-04 08:16:26 -07:00
Henrik Rydgård
9e41fafd0d Move math and some file and data conversion files out from native to Common.
Buildfixing

Move some file util files

Buildfix

Move KeyMap.cpp/h to Core where they belong better.

libretro buildfix attempt

Move ini_file

More buildfixes
2020-10-04 09:12:46 +02:00