Commit Graph

60 Commits

Author SHA1 Message Date
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
Henrik Rydgård
a8ffe15843 Move the raw input data display to the touchscreen tester. Put the output to the left next to the controls. 2021-07-09 17:05:20 +02:00
Henrik Rydgård
2303926e88 Replace the "Test Analogs" screen with a new screen that lets you directly try the settings. 2021-07-09 13:10:16 +02:00
Henrik Rydgård
c3c7eef6af Avoid a name collision from previous commit, to be safe. 2021-07-09 00:05:47 +02:00