mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-20 05:16:01 +00:00
feat: the built-in pad can be a DualShock 4 or DualSense, its touchpad fed by the trackpads (#559)
This commit is contained in:
1 parent
95f92b157b
commit
e5ba165027
17 files changed
+466
-25
No files matched your search
@@ -593,6 +593,7 @@ class SessionActivity : ComponentActivity(), SurfaceHolder.Callback {
|
||||
padType = if (SessionState.mode == SessionService.MODE_STEAM && SessionState.deckPad) padType else null,
|
||||
onPadType = { id ->
|
||||
SessionPrefs.setSteamController(this@SessionActivity, id)
|
||||
com.droiddeck.launcher.session.SteamDeckPad.showPad(SessionPrefs.padType(id))
|
||||
com.droiddeck.launcher.input.FakeInputWriter.setPadType(SessionPrefs.padType(id))
|
||||
padType = id
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user