Fix the build: the rail's prefs without androidx.preference, the Description icon import, Guide index as Int

This commit is contained in:
The412Banner committed 2026-09-21 23:07:16 -04:00
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 },