Commit Graph

184 Commits

Author SHA1 Message Date
Henrik Rydgård
ab58827ed6 Callback -> lambda (cleanup) 2023-08-30 23:30:23 +02:00
Henrik Rydgård
0dcc1ae5f0 Simplify using lambdas 2023-07-23 23:02:06 +02:00
Henrik Rydgård
fbf10e132b Allow entering an exact Mac address, while keeping the randomization ability
Fixes #16546
2023-07-21 23:50:30 +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
a9eaa4fdc8 Get rid of an ifdef 2023-03-21 10:24:36 +01:00
Henrik Rydgård
4f20852953 cleanup 2023-01-31 20:38:09 +01:00
Henrik Rydgård
c554f4e2b6 Allow restoring only settings, recents or controls to defaults.
Fixes #16381 , though could make even more granular later.

The only translation change was deleting one sentence from a longer
string - used Google Translate to assist me in removing the correct part
for a few of them, most were obvious. Hope they're all right.
2023-01-31 18:56:18 +01:00
Henrik Rydgård
01eabe7e98 GameSettingsScreen: Split up the giant CreateViews method 2023-01-31 18:42:22 +01: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
7ff0030772 Added vertical layout for display layout screen 2022-12-08 16:04:20 +01:00
Henrik Rydgård
70f18f5621 Turn language popup thing into a lambda 2022-12-05 11:23:35 +01:00
Henrik Rydgård
ca86d8d267 Remove "Load language ini" / "Save language ini" from devtools 2022-11-24 22:55:22 +01:00
Henrik Rydgård
6d9bb1b29e Move post-processing settings to DisplayLayoutScreen 2022-11-22 23:29:50 +01:00
Henrik Rydgård
575560f679 Enable game backgrounds on more screens 2022-11-22 22:53:54 +01:00
Henrik Rydgård
b80df6c360 Add transparent background to the existing Display Layout Editor. 2022-11-22 14:16:24 +01:00
Henrik Rydgård
1da6d29a0f Crashfix in settings menu (Android only, for whatever reason) 2022-10-27 11:05:59 +02:00
Henrik Rydgård
763afd4a8e Improve compatibility checks for stereo rendering. 2022-10-27 11:05:59 +02: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
020dcc9d68 UI: Reduce IO for texture ini on dev settings. 2022-07-11 16:24:37 -07:00
Unknown W. Brackets
f18c1a6e8f UI: Reset views when analog speed mapped. 2022-07-04 20:20:31 -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
Unknown W. Brackets
3edf6ab0fa Config: Don't save --fullscreen unless changed.
This makes --fullscreen and --windowed temporary by using a separate
setting.  If the setting is changed explicitly, it begins saving it again.
2022-05-28 15:47:12 -07:00
iota97
a0f0a0655c Clean up hardware tasseletion setting 2022-01-21 16:55:53 +01:00
Henrik Rydgård
11eb5fa0c2
Merge pull request #15002 from unknownbrackets/ui-open-memstick
UI: Add button to show memstick folder
2021-10-19 19:55:30 +02:00
Unknown W. Brackets
d1fdd22990 UI: Add search filtering to settings. 2021-10-19 10:01:52 -07:00
Unknown W. Brackets
1f4cbb7aaa UI: Add game settings tabs in a consistent way. 2021-10-19 10:01:51 -07:00
Unknown W. Brackets
e86b7a3a44 UI: Add button to show memstick folder.
See #13919.
2021-10-19 10:01:27 -07:00
iota97
adf7c3f20b Fix jumpy resolve while typing 2021-09-15 09:56:36 +02:00
Unknown W. Brackets
f53b4b5eac UI: Correct enable reporting setting resetting. 2021-09-13 08:54:33 -07:00
iota97
a2f016b2d1 Fix setting info on multi choice 2021-09-12 12:06:05 +02:00
iota97
ad29e5237e Basic mappable gesture 2021-08-17 09:17:37 +02:00
Henrik Rydgård
f51b8116a0 Basic flow of setting up and moving the PSP directory works now. 2021-08-04 23:22:43 +02:00
iota97
498878267a Customizable touch control (rebased with label) 2021-07-11 09:55:25 +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
b397e5c455 Assorted plumbing.
wip

Buildfix
2021-06-07 00:24:51 +02:00
Henrik Rydgård
025bcb1673 Introduce Path, start using it all over the place.
Still lots left to convert!

Convert GetSysDirectory to return Path.

More buildfixing

Remove unnecessary Path( constructors
2021-05-13 10:39:16 +02:00
Henrik Rydgård
d8583cd0d6 Buildfixes 2021-04-25 21:13:25 +02:00
Unknown W. Brackets
b5d21b4f9b UI: Remove extern global for UI message. 2021-04-10 18:42:40 -07:00
Henrik Rydgård
e15064b2fc Framedump test screen. Downloads a list of framedumps. 2021-01-31 13:13:42 +01:00
Henrik Rydgård
ed9c54b93a Add an iOS-only utility in devtools to copy savestates to memstick root.
Makes it easier to access the files on iOS over USB from MacOS.
2020-12-16 14:52:34 +01:00
Henrik Rydgård
4f43cff5ca
Move fileutil, net, image loaders, ui to Common. (#13506)
* Move and rename file_util/fd_util to Common/File/FileUtil and DirListing

Let's also move net while we're at it.

Move the ZIM/PNG loaders over to Common.

Move the UI framework into Common

iOS buildfix

* Buildfix

* Buildfixes

* Apple buildfix

* This typo again..

* UWP buildfix

* Fix build of PPSSPPQt, such as it is (it's not in good condition...)

* Guess what? Another buildfix.
2020-10-04 20:48:47 +02:00
iota97
0c885db052 User chain support 2020-09-13 21:48:00 +02:00
Unknown W. Brackets
5ff75f4ca8 UI: Add setting for texture upload shader. 2020-08-01 21:28:18 -07:00
shenweip
c7e2eba231 Add basic Microphone support on Windows. 2020-07-31 10:24:17 +08:00
ANR2ME
596fad3f42 Provides quick IP fill on Adhoc Server IP address setting to makes player's life easier :) 2020-07-23 12:41:13 +02:00
Unknown W. Brackets
03fc86a147 UI: Return to game settings after restart.
This is more convenient.  Also restarts the game if needed.

Added a way to pass args to Android here as well, and fixed displaying an
error if the shortcut file doesn't exist on Android (like if you deleted
it after creating the shortcut.)
2020-05-09 13:53:42 -07:00
Unknown W. Brackets
29e1772165 UI: Avoid cached booleans for simple globals.
It's more duplicate code and not really much faster or anything.
2020-03-21 18:49:36 -07:00
Unknown W. Brackets
a3e12f4242 Android: Process input prompts more clearly.
This way, the processing is generally inline or explicitly a callback.
There's also less parsing issues since all the parsing is centralized.
2020-03-08 20:45:01 -07:00