Commit graph

1259 commits

Author SHA1 Message Date
Henrik Rydgård
93fbb5cdda
Merge pull request #17591 from lvonasek/feature_openxr_passthrough
OpenXR - Add passthrough option (Quest only)
2023-06-17 22:12:53 +02:00
Lubos
cef7c5a1a1 OpenXR - Forgotten changes added 2023-06-17 21:55:47 +02:00
Henrik Rydgård
fffaa41091 Extract the class TabbedUIDialogScreen from GameSettingsScreen. 2023-06-16 13:56:26 +02:00
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
Henrik Rydgård
4f1be34f24 Revert "Remove the Android display resolution selector"
This reverts commit ea0eaa31e6.
2023-05-17 09:37:15 +02:00
Henrik Rydgård
cf9a628a2e AndroidContentURI: Move code from the header to cpp. Some assorted cleanup, add a unit test for Download paths 2023-05-16 16:08:51 +02:00
Henrik Rydgård
1bd7da221b Fix obscure crash possibility (call stack found), some clarification 2023-05-05 00:00:11 +02:00
Bashar Astifan
f86a462145 Revert creating ToShortFriendlyPath, more cleanup
Path preview can actually solved within ToVisualString without creating another function, I feel it will cause confusing as both function will be similar.
2023-05-04 12:03:14 +04:00
Bashar Astifan
b63f528a36 Code cleanup 2023-05-04 00:37:27 +04:00
Bashar Astifan
132a00ade3
Merge branch 'master' into master 2023-05-03 23:23:29 +04:00
Henrik Rydgård
03bf19c47e
Merge pull request #17398 from lvonasek/cleanup_openxr_android12
OpenXR - Cleanup unsupported features, support Android 12
2023-05-03 20:05:16 +02:00
Lubos
0447b2b78a OpenXR - Cleanup unsupported features, support Android 12 2023-05-03 19:41:23 +02:00
Bashar Astifan
9b0577351f Review's changes, more fixes and better structure 2023-05-02 00:09:22 +04:00
Henrik Rydgård
8bb2643459 Minor: Move the "UI background animation" setting to be next to the other background settings. 2023-05-01 20:55:08 +02:00
Bashar Astifan
cb5d18cb03 minor fixes 2023-04-29 07:56:27 +04:00
Bashar Astifan
d0b6935592 UWP Improved Support 2023-04-28 23:22:17 +04:00
Henrik Rydgård
db936cfb52 Merge two very similar translation keys (seconds, 0:off), move to Dialog section 2023-04-14 14:34:48 +02:00
Henrik Rydgård
a1d9dd47eb Add missing strings 2023-04-12 22:55:35 +02:00
Henrik Rydgård
fb0e41e32b Take the Controls string from the right section in the settings reset popup 2023-04-11 23:08:38 +02:00
Henrik Rydgård
500ab1fcde Fix translatability of seconds unit formatting for sliders 2023-04-11 23:07:50 +02:00
Henrik Rydgård
18d7412116 Warning fix, buildfix 2023-04-07 10:35:01 +02:00
Henrik Rydgård
fd97cd75d5 Android fixes 2023-04-07 10:35:01 +02:00
Henrik Rydgård
019a9e2923 MacOS build fixes 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
Lubos
cc1dd22e0f OpenXR - Option to disable HUD detection added 2023-04-05 22:49:46 +02:00
Henrik Rydgård
6f9339b011 Add defaults for all int-slider settings too 2023-04-05 10:50:53 +02:00
Henrik Rydgård
4e0babc950 Add a "reset to default" for all float-slider settings
Unfortunately, the default values from the configs are not exposed
outside Config.cpp, so there's duplication.

Need to figure out how to do fix that, but it's out-of-scope for this
PR.
2023-04-05 10:50:53 +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
177a6821ee Merge branch 'serena/macos-bar-menu-items' 2023-03-28 21:54:14 +02:00
Unknown W. Brackets
441c940fa9 UI: Remove some unnecessary Host.h includes. 2023-03-25 17:19:21 -07:00
Henrik Rydgård
7c5cc8cafd And ToggleDebugConsoleVisibility. 2023-03-24 21:43:45 +01:00
Serena
84849d9d32 fixes 2023-03-23 22:09:01 +03:00
Serena
645407fa74
Merge branch 'master' into serena/macos-bar-menu-items 2023-03-23 21:27:42 +03:00
Henrik Rydgård
b440e28e38 Remove System_SendMessage!
iOS, Qt buildfixes
2023-03-22 23:52:51 +01: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
410b35fba3 Get rid of "finish" and "setclipboardtext" messages, replace with requests. 2023-03-22 22:17:26 +01:00
Henrik Rydgård
dfa06c4e77 SDL buildfix, fix file/folder browsers on Darwin 2023-03-22 19:25:35 +01:00
Henrik Rydgård
e9f5394f59 Move the Windows open file dialog to the new system, switch the background image selector over. 2023-03-22 14:53:07 +01:00
Henrik Rydgård
de064e210e Replace the inputbox queue with a more generic RequestManager. 2023-03-22 12:41:11 +01:00
Henrik Rydgård
f5472ba0d8 Cleanup up unnecessary audio init functions 2023-03-21 13:39:02 +01:00
Henrik Rydgård
dda8635c89 Move three notifications out of Host 2023-03-21 13:37:19 +01:00
Henrik Rydgård
d3955b42bb Rename some system functions, merge the Launch* ones.
android launchurl buildfix
2023-03-21 12:22:59 +01:00
Henrik Rydgård
a9eaa4fdc8 Get rid of an ifdef 2023-03-21 10:24:36 +01:00
Lubos
983f8176dd OpenXR - Enable user to switch between topdown and fps camera 2023-03-12 14:41:17 +01:00
Henrik Rydgård
cb10862510 Move texture replacer to GPU/Common.
Add new files ReplacedTexture.cpp/h too.
2023-03-09 21:11:53 +01:00
Lubos
b1f41c44fe OpenXR - Vertical HMD rotation to keys cleanup 2023-03-09 11:22:54 +01:00
Lubos
6bcf65d526 OpenXR - Only horizontal HMD rotations to keys 2023-03-08 22:23:54 +01:00
Unknown W. Brackets
f199a0fee3 UI: Forget jit override on user selection. 2023-02-28 06:58:30 -08:00