Commit Graph

88 Commits

Author SHA1 Message Date
Henrik Rydgård 1a2e32d451 Fix some untranslatable strings, thanks TotalCaesar569 2026-02-18 18:39:44 +01:00
Henrik Rydgård 734b2a55de Move to a global controlmapper 2026-02-12 23:06:26 +01:00
Henrik Rydgård a6ac956884 Input system refactor: Replace 5 callbacks with an interface 2026-02-12 22:52:16 +01:00
Henrik Rydgård 7a64888569 Control mapping screen: Don't waste vertical space on a title bar in landscape 2026-01-18 14:39:52 +01:00
Henrik Rydgård c999367471 Fix crash in DrawPixels in "skip framebuffer effects" mode 2025-12-15 17:18:17 +01:00
Henrik Rydgård 2c75946e6c Switch ControlMappingScreen to a two-pane layout 2025-11-25 19:07:52 +01:00
Henrik Rydgård 57507ec9e6 GameScreen: New look in portrait mode 2025-11-15 20:44:14 +01:00
Henrik Rydgård 8b52cf67af Add a way to put the "ExtraButtons" in a popup menu, use on control mapping screen 2025-11-15 20:44:14 +01:00
Henrik Rydgård 0453fb5449 Move PopupScreen base class into PopupScreens.cpp/h 2025-11-10 10:26:38 +01:00
Henrik Rydgård 055d47606b Switch control mapping over to tabbed interface (needs more work) 2025-11-09 17:49:17 +01:00
Henrik Rydgård 81b77f6479 Switch over the analog calibration screen to the new TwoPane framework 2025-10-29 10:25:29 +01:00
Henrik Rydgård 2b9f2672bb UI screens header cleanup 2025-10-29 00:15:41 +01:00
Henrik Rydgård 7ffd72b32e Rename some screen classes 2025-10-29 00:02:43 +01:00
Henrik Rydgård 9ed3fc0eaa Some work on the credits screen, main screen 2025-10-28 11:27:31 +01:00
Henrik Rydgård 58456ae950 Remove the UI::EventReturn return values. Makes editing the UI nicer. 2025-09-15 11:09:00 -06:00
Henrik Rydgård 263d0b3983 SDL: Fix bug where the mouse got stuck in relative mode when mapping mouse inputs 2025-07-10 20:29:24 +02:00
Henrik Rydgård 2e0ca023ae Build warning fixes 2025-04-17 11:05:52 +02:00
Henrik Rydgård c29f81da36 Fix issue with the collapsible sections in control mapping collapsing on every change. 2024-01-29 17:57:01 +01:00
Henrik Rydgård 9cb3d03098 Add categories for control bindings 2023-12-20 16:20:26 +01:00
Henrik Rydgård 812b1024f0 Move TouchTestScreen to DevScreens 2023-12-14 19:01:19 +01:00
Henrik Rydgård b78c7ad470 Merge pull request #18545 from GermanAizek/const-ref-params
Objects in function parameters have been replaced with constant references
2023-12-14 13:49:33 +01:00
Herman Semenov 3d422b11c0 [GPU Common Vulkan/UI/Windows Debugger] Added const reference for function params 2023-12-14 14:23:31 +03:00
Henrik Rydgård a6d717cb39 Add option in dev tools to ask Android for 60hz display using Surface.setFrameRate
Might help #18514 and #18480 if we're lucky.
2023-12-12 15:30:39 +01:00
Henrik Rydgård e8f70594a4 Implement running the game in the background on the pause screen. Fix some bugs. 2023-12-11 12:41:44 +01:00
Henrik Rydgård 22295a6412 Plumb through a ScreenRenderMode parameter 2023-12-10 13:05:17 +01:00
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