Commit Graph

63 Commits

Author SHA1 Message Date
Henrik Rydgård
2b7fe0d729 Cleanup: callbacks->lambdas 2023-08-24 11:08:43 +02:00
Henrik Rydgård
b9327073bb Add checkbox controlling if new mappings can be combo mappings.
These can be problematic with certain controllers that send double
signals. Like PS4 controllers on Android, the analog triggers send dual
axis events, and additionally digital events.
2023-07-07 10:42:08 +02:00
Henrik Rydgård
fc3f7da3af TouchTestScreen: Have 8 entries logged instead of 2. 2023-07-06 11:48:25 +02:00
Unknown W. Brackets
87b5a0b107 UI: Buildfix. 2023-04-07 10:35:01 +02:00
Henrik Rydgård
18d7412116 Warning fix, buildfix 2023-04-07 10:35:01 +02:00
Henrik Rydgård
ee6234ecb6 I18N: Switch to getting categories by index instead of by string lookup
Also gets rid of the shared_ptr usage, and generally makes things nicer.

Needed for later config refactorings, good to get in early.
2023-04-07 10:35:01 +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
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
Unknown W. Brackets
4cb37d4391 UI: Highlight buttons on press in visual PSP map. 2023-01-28 17:42:23 -08:00
Henrik Rydgård
07114c6aaf Remove return value from axis functions in API 2023-01-10 10:12:37 +01:00
Henrik Rydgård
a3a949f5e6 Remove touch() return values from screen hierarchy 2023-01-10 10:12:37 +01:00
Henrik Rydgård
f68ba55f96 Minor initialization cleanups 2022-12-22 11:13:52 +01:00
Henrik Rydgård
575560f679 Enable game backgrounds on more screens 2022-11-22 22:53:54 +01:00
Henrik Rydgård
9f3851678e Add tags to all our UI screens. Useful to debug UI problems. 2022-09-16 10:14:00 +02:00
Unknown W. Brackets
9c92af2b77 UI: Delay between successive mapping in controls. 2021-10-07 18:45:15 -07:00
Unknown W. Brackets
6378cb1693 UI: Fix focus persistence in control mapping.
Trying to reset focus from the parent was just complicating things.
We persist the focus state when recreating views.
2021-08-29 16:43:15 -07: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
Unknown W. Brackets
f7b92ebb29 UI: Try to keep button visible while mapping. 2021-08-28 16:29:27 -07:00
Unknown W. Brackets
efeca78c1a UI: Allow binding all typically buttons in a row. 2021-08-28 15:04:16 -07:00
Unknown W. Brackets
4e33a1ef07 UI: Allow rebinding the analog from PSP view. 2021-08-28 14:37:53 -07:00
Unknown W. Brackets
d8a7fdf580 UI: Allow mapping buttons from visual PSP display. 2021-08-28 14:24:27 -07:00
Unknown W. Brackets
202a9db885 UI: Add a screen to visualize PSP controls.
Currently, doesn't do anything.  But looks about right.
2021-08-28 14:09:06 -07:00
Henrik Rydgård
c8081f7f44 Fix navigating the analog stick calibration screen with just a gamepad 2021-08-22 00:13:01 +02:00
Henrik Rydgård
7707b03b6d Analog calibration: Tweak defaults, add reset buttton 2021-07-09 17:18:15 +02:00