100 Commits
Author SHA1 Message Date
t895 ebcf0a3415 android: Play vibrations asynchronously 2024-02-23 16:41:59 -05:00
t895 4c2ddb2cb2 android: Connect controllers with supported styles
If you tried to connect a controller that was previously configured with an unsupported style for your game, when you try to connect that controller, it will immediately disconnect. This ensures that the controller that is being connected will be changed to the first supported style index before being connected.
2024-02-21 08:37:55 -05:00
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
Charles Lombardo 01f6c3917b Merge pull request #13099 from t895/default-fix
android: Fix extra stick setting default values
2024-02-21 07:02:58 -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
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
Charles Lombardo f8a627908d Merge pull request #13068 from german77/no_errors
core: hid: Remove driver errors from log
2024-02-18 13:30:54 -05:00
t895 e69efb0f73 android: Flip AB/XY for xbox controllers during auto-mapping 2024-02-18 10:40:33 -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
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 95ea8e9553 hid_core: Prevent crash if we try to iterate through empty color devices list 2024-02-16 21:11:47 -05:00
t895 31b531fb2b hid_core: Use dedicated "port" for android's input overlay 2024-02-16 21:09:42 -05:00
t895 f21569a4eb config: Reset per-game profile name on load if empty 2024-02-16 21:07:03 -05:00
t895 4e34af1a26 android: Allow SettingsItems to use String or StringRes 2024-02-16 21:04:26 -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
t895 79239d063e config: Always delete control settings in ClearControlPlayerValues 2024-02-11 07:35:54 -05:00
Charles Lombardo ad55aa75fc Merge pull request #12978 from liamwhite/ffs-qcom
host_shaders: add vendor workaround for adreno drivers
2024-02-10 22:42:25 -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 5200236f89 common: fs: Expand android macros 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
Charles Lombardo 228e7ce6ed Merge pull request #12909 from t895/play-store-automation
ci: android: Play store publishing setup
2024-02-07 15:32:42 -05:00
Charles Lombardo 645c4b9646 Merge pull request #12905 from liamwhite/hwc-release
nvnflinger: release buffers before presentation sleep
2024-02-05 13:43:22 -05:00
Charles Lombardo 2f84b89a9f Merge pull request #12924 from liamwhite/pedantic-unsigned
typed_address: test values are unsigned
2024-02-05 13:43:06 -05:00
Charles Lombardo 8f70ab22c3 Merge pull request #12922 from FearlessTobi/lang-mappins
.tx/config: Use language mappings for android "tx pull"
2024-02-05 13:40:53 -05:00
t895 a7e7f1b899 ci: android: Play store publishing setup 2024-02-04 10:54:18 -05:00
t895 6c6d6ece77 settings: Allow audio sink, input, and output to be set per game 2024-01-31 09:31:19 -05:00
t895 6e6b084c6c android: Don't show delete button for system driver 2024-01-29 06:59:34 -05:00
Charles Lombardo 8c6123e36e Merge pull request #12827 from t895/focus-color
android: Disable focus on loading card
2024-01-28 08:52:57 -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
t895 d275537111 android: Reload global settings on closing emulation
UI like the driver manager expects the global settings to be loaded when in the MainActivity so we reload global config to properly reset state on exit.
2024-01-26 23:05:02 -05:00
t895 6225561685 vfs: Fix getting URI filename 2024-01-26 09:57:22 -05:00
t895 55462a3e65 android: Add cancel condition to installed content check 2024-01-26 09:29:51 -05:00
t895 ee0b3c01de android: Disable default focus highlight on views that shouldn't be selected 2024-01-25 20:49:57 -05:00
t895 d04853839d android: Allow controller to focus on toolbar menu items
Workaround for this
https://issuetracker.google.com/issues/256948272
2024-01-25 20:48:58 -05:00
t895 c7a39b02d2 android: Add 600dp layout for GameInfoFragment 2024-01-25 20:46:03 -05:00
t895 546bb43a3c android: Fix button click listener for build version name
Was set to the text instead of the parent view by mistake
2024-01-25 20:43:12 -05:00
t895 ee22a87867 android: Disable focus for the root of cards that contain buttons 2024-01-25 20:42:23 -05:00
t895 fdddac1a57 android: Focus on the in game menu when opened 2024-01-25 20:39:52 -05:00
t895 b24bd81938 android: Fix waiting for driver install on startup 2024-01-25 13:04:04 -05:00
t895 1533fbce51 android: Add current driver vendor to FPS overlay 2024-01-25 13:04:03 -05:00
t895 48660d8c8a android: Add key check 2024-01-25 12:58:19 -05:00
t895 227018508e android: Add option to make MessageDialogFragments non-dismissible
Additionally fixes an issue where its viewmodel could hold onto a stale positive action
2024-01-25 12:53:49 -05:00
t895 564908ba83 frontend_common: Consistently use references
Was swapping between references and pointers for no reason. Just unify them here since each of these utility functions will need their parameters to be alive.
2024-01-25 12:53:49 -05:00
t895 55f1d7beeb frontend_common: Remove key rederivation and keep key check 2024-01-25 12:53:48 -05:00
t895 855ef8dc60 android: Only compare game contents for GameAdapter 2024-01-25 08:04:59 -05:00
Charles Lombardo 598218922b Merge pull request #12753 from liamwhite/why
device_memory_manager: fix ScratchBuffer indexing
2024-01-22 14:55:07 -05:00
t895 a651bb87a7 android: Add to launcher button 2024-01-22 08:19:20 -05:00
Charles Lombardo 8d097fa354 Merge pull request #12739 from t895/debug-keystore
android: Provide debug.keystore for debug and relWithDebInfo builds
2024-01-22 04:34:17 -05:00
Charles Lombardo dc8480eb8b Merge pull request #12738 from t895/lock-drawer
android: Port "Lock drawer" feature from Citra
2024-01-22 04:34:08 -05:00
Charles Lombardo 9c61b1edfa Merge pull request #12736 from t895/verify-contents
android: Add verify contents buttons
2024-01-22 04:33:56 -05:00
t895 3116ee2cb7 android: Provide debug.keystore for debug and relWithDebInfo builds
Allows devs to share debug builds with testers without uninstalling the previous build
2024-01-21 22:08:07 -05:00
t895 49142d4e23 android: Port "Lock drawer" feature from Citra 2024-01-21 20:47:28 -05:00
t895 7c70a8a362 frontend_common: Remove default value for installer callbacks
We never used these without callbacks and these will break without them in their current state. I could write the default value to return false always but that's unnecessary for now.
2024-01-21 19:31:26 -05:00
t895 8f07d9bf1c android: Add options to verify installed content 2024-01-21 19:15:11 -05:00
t895 3bee9db92f frontend_common: Move integrity verification to content_manager 2024-01-21 16:36:37 -05:00
Charles Lombardo c573e4a2f4 Merge pull request #12733 from german77/settings_services
service: set: Don't allow invalid mii author id
2024-01-21 14:08:58 -05:00
Charles Lombardo 4b2ed58cb8 Merge pull request #12728 from t895/sync-translations
android: Sync translations
2024-01-21 00:38:49 -05:00
t895 9dd8845ace android: Sync translations 2024-01-20 23:26:47 -05:00
t895 f5ff015ec9 android: Change "Clear" to "Use global setting" for per-game settings 2024-01-20 13:37:47 -05:00
t895 125dae11bb android: Use elevated card style for home setting card 2024-01-20 03:55:48 -05:00
t895 aa37bffb58 android: Sort recently added/played games by time 2024-01-20 03:18:48 -05:00
t895 009fd9ceb7 frontend_common: Add documentation for content_mananger 2024-01-19 20:54:50 -05:00
t895 3df0c826a1 android: Add addon delete button
Required some refactoring of retrieving patches in order for the frontend to pass the right information to ContentManager for deletion.
2024-01-19 20:54:50 -05:00
t895 89e12de5e1 android: Use callback to update progress bar dialogs 2024-01-19 17:09:36 -05:00
t895 4959e07015 frontend_common: Add content manager utility functions
Creates utility functions to remove/install DLC, updates, and base game content
2024-01-19 17:09:35 -05:00
Charles Lombardo 5083dea91e Merge pull request #12702 from german77/android-input
input_common: Add android input engine
2024-01-18 09:16:58 -05:00
t895 5fdf16144e android: Save overlay data while using emulation fragment
This should have been fully embraced before but the items within the popup menu and the adjust controls dialog fell through. This ensures that everything related to the overlay is saved during emulation and can't be lost during a crash.
2024-01-17 20:14:25 -05:00
Charles Lombardo 5255221e6c Merge pull request #12659 from liamwhite/audio-memory
audio: fetch process object from handle table
2024-01-15 13:52:01 -05:00
Charles Lombardo 34956fc17e Merge pull request #12652 from liamwhite/huge-pile-of-spirv-spaghetti
shader_recompiler: emulate 8-bit and 16-bit storage writes with cas loop
2024-01-15 13:51:36 -05:00
Charles Lombardo d94c0b840f Merge pull request #12612 from liamwhite/fs-pid
fsp-srv: use program registry for SetCurrentProcess
2024-01-15 13:51:14 -05:00
Charles Lombardo b6e1736bc3 Merge pull request #12611 from liamwhite/resource-management-is-hard
kernel: fix resource management issues
2024-01-15 13:50:58 -05:00
Charles Lombardo 31331b7b5f Merge pull request #12610 from liamwhite/reply-and-dont-receive
server_manager: respond to session close correctly
2024-01-15 13:50:43 -05:00
t895 b175257527 android: Fix overlay toggle ordering 2024-01-15 12:41:49 -05:00
t895 e58da9cd54 ci: Remove format step from mainline builds 2024-01-15 10:30:57 -05:00
t895 58a1e73675 android: Show version name instead of git hash in the about fragment 2024-01-13 18:12:19 -05:00
t895 b5721efd3b android: Clean up git commands in build.gradle 2024-01-13 18:06:33 -05:00
t895 1b369e8db2 android: Move ktlintCheck to yuzu-verify 2024-01-13 17:41:01 -05:00