feat: setting to turn off held-Back Steam shortcuts (#1955)

This commit is contained in:
Kurt Himebauch authored and GitHub committed 2026-11-01 11:15:59 -05:00
1 parent 9c5f1e4df9
commit 3566779895
41 files changed
+129 -3

No files matched your search

@@ -360,6 +360,12 @@ object SessionPrefs {
prefs(context).edit().putBoolean("directCursor", on).apply()
}
fun backHold(context: Context): Boolean = prefs(context).getBoolean("backHold", true)
fun setBackHold(context: Context, on: Boolean) {
prefs(context).edit().putBoolean("backHold", on).apply()
}
fun backActionsInverted(context: Context): Boolean = prefs(context).getBoolean("backActionsInverted", false)
fun setBackActionsInverted(context: Context, inverted: Boolean) {
@@ -15,7 +15,7 @@ object SettingsReset {
"dualScreenMode", "dualScreenLauncher", "dualScreenSessionControls",
"gameStoresEnabled", "gameStoresSpeedTier", "gameStoresParallel", "storesOpenTab", "storesShowMature",
"storesInstallLanguage",
"hud", "hudDeck", "hudFps", "hudBattery", "hudGraph", "hudColor", "hudOpacity", "__KEEP_droidDeckHud__", "__KEEP_droidDeckHudPos__", "backActionsInverted", "backDoubleTapMs", "touch", "osc", "shape", "steamController",
"hud", "hudDeck", "hudFps", "hudBattery", "hudGraph", "hudColor", "hudOpacity", "__KEEP_droidDeckHud__", "__KEEP_droidDeckHudPos__", "backHold", "backActionsInverted", "backDoubleTapMs", "touch", "osc", "shape", "steamController",
"gamepadLeft", "gamepadRight", "pipAutoEnter", "unfoldedControls", "unfoldedControlsWithController",
"stretch16x9", "picturePosition", "railLabels",
"gpuDriverMode", "androidDriver", "linuxDriver", "linuxDriver.steam", "linuxDriver.desktop",