Commit graph

932 commits

Author SHA1 Message Date
t895
f46654b3b0 android: Add additional check for hasMapping
Controls can have no mapping if they are either "[empty]" or and empty string. This was causing an issue if you reset mapping on all controllers and then tried to play a game. The check to determine whether auto mapping was required would fail and leave you will no mapped controllers. This feels a bit like user error but it smooths things out if you forget so I see it as necessary.
2024-02-21 08:17:30 -05:00
t895
3637b5e4fb android: Enable all controller styles on emulation shutdown 2024-02-21 08:13:54 -05:00
t895
9c51cb5361 android: Fix extra stick setting default values
The default value was accidentally hardcoded for all extra stick settings
2024-02-20 22:13:59 -05:00
t895
aa5605101a android: Expose device name setting 2024-02-20 08:16:38 -05:00
t895
7d2f11fac6 android: Add StringInputSetting settings item 2024-02-20 08:06:56 -05:00
liamwhite
6e55dc775d Merge pull request #13086 from t895/clear-button-fix
android: Fix broken clear button check
2024-02-19 19:18:05 -05:00
Charles Lombardo
30cfd14873 android: Have input overlay follow player 1 style index (#13085) 2024-02-19 22:47:21 +01:00
t895
fbec2ba35d android: Fix broken clear button check 2024-02-19 15:54:52 -05:00
Charles Lombardo
0b351f0635 android: Fix overlay visibility reset (#13083) 2024-02-19 19:44:42 +01:00
Charles Lombardo
f7ec8a8b77 android: Show done button when configuring input overlay (#13082) 2024-02-19 19:26:18 +01:00
FearlessTobi
dcc9189dcb Address review comments 2024-02-19 19:11:07 +01:00
FearlessTobi
4d55e58ee4 scope_exit: Make constexpr
Allows the use of the macro in constexpr-contexts.
Also avoids some potential problems when nesting braces inside it.
2024-02-19 16:00:46 +01:00
liamwhite
f01f9cdae2 Merge pull request #13064 from t895/auto-map-fail
android: Only do first startup automapping if nothing has been mapped
2024-02-18 10:27:49 -05:00
liamwhite
6d7339a332 Merge pull request #13065 from t895/cancel-button-fail
android: Show cancel button for the content install notice
2024-02-18 10:25:04 -05:00
t895
d62cea4622 android: Map touches to touchscreen
I neglected to map touches to the touchscreen when refactoring in the input mapping PR. This fixes that regression.
2024-02-18 10:00:37 -05:00
t895
45b159e21b android: Show cancel button for the content install notice 2024-02-18 09:23:46 -05:00
t895
7dc4962c83 android: Only do first startup automapping if nothing has been mapped 2024-02-18 09:18:54 -05:00
t895
4b0ab0fc00 android: Create lifecycle utility to simplify common StateFlow operations 2024-02-17 23:09:09 -05:00
t895
370f2eb7dd android: Use extension functions for view visibility and text marquee 2024-02-17 22:45:33 -05:00
liamwhite
73fd4133d1 Merge pull request #13052 from t895/serializable-stuff
android: Move CoreErrorDialogFragment to its own file
2024-02-17 22:22:46 -05:00
t895
ee98ee491a android: Move CoreErrorDialogFragment to its own file 2024-02-17 21:58:25 -05:00
t895
a29782ce6a android: Input mapping 2024-02-17 12:32:33 -05:00
t895
4e34af1a26 android: Allow SettingsItems to use String or StringRes 2024-02-16 21:04:26 -05:00
Narr the Reg
21e754cffb Merge pull request #12993 from liamwhite/am-rewrite-part1
am: rewrite part 1
2024-02-14 11:02:38 -06:00
liamwhite
887db829ba Merge pull request #13009 from t895/message-dialog-fix
android: Message dialog tweaks
2024-02-13 14:46:56 -05:00
t895
a3f5a8151f android: Prevent user from dismissing mod/cheat notice
Makes sure that a user can't miss this dialog by touching outside the window. They must press "OK" or "Close" to continue.
2024-02-13 13:46:14 -05:00
t895
d2fd59733b android: Show cancel option for delete addons dialog 2024-02-13 13:45:17 -05:00
t895
cb0d5896c5 android: Swap ok and close default strings for MessageDialogFragment 2024-02-13 13:44:35 -05:00
t895
4507d2f9c3 android: Add screen vertical alignment setting
It's a bit of a hack since I'm moving the view instead of telling the Vulkan surface to bias itself to the top/bottom/center but it works fine for now.
2024-02-13 10:10:59 -05:00
t895
1b48ee6e45 android: Expose FSR sharpness slider 2024-02-13 10:04:59 -05:00
t895
981aac6281 android: Swap confirmation buttons for delete save data dialog 2024-02-12 16:54:46 -05:00
t895
57b827eabf android: Extend MessageDialogFragment to support a negative action and button titles 2024-02-12 16:54:19 -05:00
Liam
0276ae2f95 am: rewrite appletAE, appletOE 2024-02-11 21:59:33 -05:00
liamwhite
354e0a2791 Merge pull request #12920 from t895/jni-common
android: Move JNI setup and helpers to common
2024-02-09 11:49:25 -05:00
liamwhite
80f4a91d35 Merge pull request #12968 from t895/thermal-status
android: Thermal throttling indicator
2024-02-09 11:47:17 -05:00
liamwhite
dcca4e6d9b Merge pull request #12964 from t895/foreground-service-test
android: Remove foreground service
2024-02-09 11:47:11 -05:00
t895
db95f51c69 android: Use utility function for applying view margins 2024-02-09 07:07:06 -05:00
t895
bce86d8102 android: Add thermal throttling overlay 2024-02-09 07:07:05 -05:00
t895
54d8e5e643 android: Remove foreground service 2024-02-08 21:04:14 -05:00
t895
95199610fd android: Fix regex for git version 2024-02-08 14:24:15 -05:00
t895
0e001c4ab8 android: Run OnEmulationStarted frontend callback in another thread
The JVM has problems with attaching to a Fiber so we start a new thread and wait for the result here.
2024-02-08 14:13:46 -05:00
t895
28fcbacc78 android: Move JNI setup and helpers to common 2024-02-08 13:45:26 -05:00
t895
a7e7f1b899 ci: android: Play store publishing setup 2024-02-04 10:54:18 -05:00
Liam
1a51a1281c am: retrieve main applet creation info from frontend 2024-01-29 20:17:09 -05:00
Liam
6925b78bd5 am: re-namespace frontend applets to frontend directory 2024-01-29 18:43:45 -05:00
t895
6e6b084c6c android: Don't show delete button for system driver 2024-01-29 06:59:34 -05:00
liamwhite
9f2f98d9e9 Merge pull request #12826 from t895/system-driver-version
android: Show system driver information
2024-01-28 11:57:58 -05:00
t895
c84fac9ab4 android: Disable focus on loading card
Additionally de-emphasize the ripple that I can't disable
2024-01-28 00:25:07 -05:00
t895
6b23690b75 android: Show system driver information 2024-01-27 23:59:02 -05:00
t895
d9f725ba4a android: Multi-program app switching 2024-01-27 20:05:51 -05:00