Commit Graph

204 Commits

Author SHA1 Message Date
Unknown W. Brackets 441c940fa9 UI: Remove some unnecessary Host.h includes. 2023-03-25 17:19:21 -07:00
Henrik Rydgård 4c99712b60 And "immersive", "audio_resetDevice" 2023-03-22 23:52:38 +01:00
Henrik Rydgård ac47476253 And share_text, toast, recreate 2023-03-22 23:52:25 +01:00
Henrik Rydgård 5a55fd5fd3 And replace "graphics_restart", "toggle_fullscreen", etc 2023-03-22 23:52:15 +01:00
Henrik Rydgård 8b431b39ba Wrap the display globals in a struct (#16998)
* Wrap the display globals in a struct

Makes it easier to search/replace these, for future refactorings.

* Some renaming

* Qt buildfix, also fix the Qt build on Mac (got broken with battery changes)

* Attempt at buildfixing ios

* UWP buildfix
2023-02-25 13:09:44 +01:00
Henrik Rydgård a88bafff4d Break out the JoystickHistoryView 2023-02-01 14:58:16 +01:00
Henrik Rydgård 102607a6e8 Code style fixes, translation key fix, cleanup 2023-02-01 14:24:55 +01:00
Unknown W. Brackets 4cb37d4391 UI: Highlight buttons on press in visual PSP map. 2023-01-28 17:42:23 -08:00
Unknown W. Brackets 76c9ddc175 UI: Label visual PSP buttons on focus.
For clarity on what button they are and that they are focused.
2023-01-28 17:41:43 -08:00
Henrik Rydgård ea0eaa31e6 Remove the Android display resolution selector
I think its benefit is absolutely tiny if any, and causes a lot more
problems than it's worth. Bye.

Note that this isn't the rendering resolution selector, that will of
course still be there, but it's the "hardware scaler" resolution.
2023-01-11 22:53:42 +01:00
Henrik Rydgård c27689910e Break out ScrollView from ViewGroup.h, and PopupScreens from UIScreen.h 2023-01-11 10:56:31 +01: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
Unknown W. Brackets c6992d45ef UI: Add a slight glow around PSP in control map.
This makes it more distinguishable from some dark backgrounds.
2022-11-27 19:19:45 -08:00
Henrik Rydgård 75040f0cb1 Remove some logspam, oops 2022-11-24 12:47:13 +01:00
Henrik Rydgård cddf78c82a Merge pull request #16419 from hrydgard/control-mapping-fixes
Stick input: Fix issue where deadzone noise from one device could drown out signal from another.
2022-11-23 14:23:43 +01:00
Henrik Rydgård 5230fc7c41 Joystick input: Ignore in-deadzone events from a different device than previous events
Fixes #15465
2022-11-23 12:22:59 +01:00
Henrik Rydgård f4c88e0f80 Add trashcan icon to UI atlas, use in control mapper. Reorder a couple dev settings 2022-11-23 11:18:29 +01:00
Henrik Rydgård 575560f679 Enable game backgrounds on more screens 2022-11-22 22:53:54 +01:00
Lubos 4a770b36cf Typo fixed 2022-11-17 19:13:04 +01:00
Lubos 011592754f OpenXR - Use mouse control only 2022-11-17 12:19:17 +01:00
Unknown W. Brackets d19138f157 UI: Fix controller autoconf list result. 2022-09-20 11:12:55 -07:00
Unknown W. Brackets 3cb4207369 UI: Allow cancel from analog speed mapping. 2022-07-04 20:20:13 -07: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
iota97 561870dc25 Merge item and button style, remove hightlighed and few other fixes 2022-02-14 13:57:22 +01:00
Unknown W. Brackets a397bf811b UI: Fix some sign/size comparison warnings.
Mostly size_t vs int.
2022-01-06 20:40:29 -08:00
Unknown W. Brackets 63e623ecb2 Build: Fix some format truncation warnings.
Generally all should be safe already, but better to be sure.
2021-12-11 10:45:27 -08:00
Henrik Rydgård e6857388c7 Add input device debug info to touchscreen test screen
(yeah maybe there's a better place but it's fine).

Also make a slight tweak to the detection order which I don't think
matters much.
2021-10-10 11:50:20 +02:00
Unknown W. Brackets 9c92af2b77 UI: Delay between successive mapping in controls. 2021-10-07 18:45:15 -07:00
iota97 003a34ccf5 Increase few column width for long translation, make control binding a bit taller 2021-09-28 18:02:37 +02:00
Unknown W. Brackets 931ba43216 UI: Remove scroll to top on size change.
It wasn't actually used anywhere, and I don't see a reason for it now.
2021-09-27 23:39:33 -07:00
iota97 8d120af168 Edit psp screen a bit 2021-09-12 15:11:58 +02:00
iota97 7b33325cac Double binding fix 2021-09-08 08:54:59 +02:00
Henrik Rydgård 2b683ff8c7 Fix typo (and maybe a bug). 2021-09-08 00:19:18 +02:00
Unknown W. Brackets 01edd695c8 UI: Fix refocus on no control change.
There's no reason to refresh, and since the views are different without
PersistData being called, it breaks the focus.

Refreshing now handled via the generation value.
2021-08-29 17:14:08 -07:00
Unknown W. Brackets 6e4708733c UI: Restore focus on PSP view as well. 2021-08-29 17:08:27 -07:00
Unknown W. Brackets 7bb58ce5a0 UI: Refocus better on control mapping change.
This is less awkward, since it keeps you closer to where you were before.
2021-08-29 16:59:55 -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 f9c381dfae Narrow the mapping UI, making it a bit less uncomfortable to use. 2021-08-11 23:14:26 +02:00
Henrik Rydgård d4c5ba990b Minor tweaks 2021-07-09 19:17:41 +02:00
Henrik Rydgård ca408ba369 Change some names, add scroll view for analog settings 2021-07-09 17:25:00 +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