mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-21 22:05:59 +00:00
fix(input): D-pad keeps direction overrides, kit bindings survive layout edits and an emptied gamepad stays empty
This commit is contained in:
1 parent
fdcb7eb3c4
commit
952f363b45
11 files changed
+50
-11
No files matched your search
@@ -4479,6 +4479,7 @@ class SessionActivity : ComponentActivity(), SurfaceHolder.Callback, com.droidde
|
||||
|
||||
private fun controlsBelowWanted(): Boolean {
|
||||
if (!::sessionRoot.isInitialized || glassesScreen != null || bottomGame != null || cardboard.enabled) return false
|
||||
if (SessionPrefs.oscMode(this) == SessionPrefs.OSC_NEVER) return false
|
||||
return SessionPrefs.controlsBelowWanted(this, SessionState.mode, sessionRoot.width, sessionRoot.height,
|
||||
pipUi || isInPictureInPictureMode)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user