mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-19 04:46:08 +00:00
Fix the build: the rail's prefs without androidx.preference, the Description icon import, Guide index as Int
This commit is contained in:
1 parent
9ad922348b
commit
ecd0aecbc5
3 files changed
+5
-3
No files matched your search
@@ -164,9 +164,9 @@ class SessionActivity : ComponentActivity(), SurfaceHolder.Callback {
|
||||
// Xbox button, or a pad the client hides the controls for, has no other
|
||||
// way to open the client's menu in a game.
|
||||
drawerOpen = false
|
||||
padBridge?.applyTouch { st -> st.setPressed(com.steamdeck.launcher.input.GamepadState.IDX_BUTTON_MODE, true) }
|
||||
padBridge?.applyTouch { st -> st.setPressed(com.steamdeck.launcher.input.GamepadState.IDX_BUTTON_MODE.toInt(), true) }
|
||||
Handler(Looper.getMainLooper()).postDelayed({
|
||||
padBridge?.applyTouch { st -> st.setPressed(com.steamdeck.launcher.input.GamepadState.IDX_BUTTON_MODE, false) }
|
||||
padBridge?.applyTouch { st -> st.setPressed(com.steamdeck.launcher.input.GamepadState.IDX_BUTTON_MODE.toInt(), false) }
|
||||
}, 90)
|
||||
}) else null,
|
||||
onProtons = { refreshProtons(); showProtons = true },
|
||||
|
||||
Reference in new issue
Block a user