diff --git a/app/src/main/java/com/droiddeck/launcher/session/SessionFiles.kt b/app/src/main/java/com/droiddeck/launcher/session/SessionFiles.kt index 972988ead..3a61f1b47 100644 --- a/app/src/main/java/com/droiddeck/launcher/session/SessionFiles.kt +++ b/app/src/main/java/com/droiddeck/launcher/session/SessionFiles.kt @@ -71,6 +71,7 @@ object SessionFiles { "usr/local/bin/droiddeck-steam-games" to "usr/local/bin/droiddeck-steam-games", "usr/local/bin/droiddeck-pad-defaults" to "usr/local/bin/droiddeck-pad-defaults", "usr/local/bin/droiddeck-steamvr" to "usr/local/bin/droiddeck-steamvr", + "usr/local/bin/droiddeck-steamvr-settings" to "usr/local/bin/droiddeck-steamvr-settings", "usr/local/bin/droiddeck-steamvr-game" to "usr/local/bin/droiddeck-steamvr-game", "usr/local/bin/droiddeck-bwrap" to "usr/local/bin/droiddeck-bwrap", "usr/local/bin/droiddeck-flatpak" to "usr/local/bin/droiddeck-flatpak", diff --git a/docs/quest.md b/docs/quest.md index f99049217..bce85b1ac 100644 --- a/docs/quest.md +++ b/docs/quest.md @@ -113,6 +113,12 @@ session closes XR; a failed startup or stopped SteamVR also returns to the panel with an error instead of leaving a black scene. Enter SteamVR can then start a fresh connection. +SteamVR scene-application and dashboard events also guide Gamescope's game focus. +While the dashboard is hidden, the guest agent resolves the live scene process's +Steam app ID and promotes its focusable window. Opening the dashboard or ending +the scene restores the previous order if no other client has replaced it. This +keeps keyboard/gamepad input with the VR scene without game-specific IDs. + With Steam already running, `python3 tools/test_quest_xr.py --serial SERIAL` launches the immersive activity and verifies advancing owned images, tracked 6DoF, focus and SteamVR status. Add `--require-controllers` while holding both diff --git a/tools/linuxfs/overlay/usr/local/bin/droiddeck-agent b/tools/linuxfs/overlay/usr/local/bin/droiddeck-agent index 504321cc2..631eb9ad5 100755 --- a/tools/linuxfs/overlay/usr/local/bin/droiddeck-agent +++ b/tools/linuxfs/overlay/usr/local/bin/droiddeck-agent @@ -177,6 +177,11 @@ class X: return list(struct.unpack("<%dI" % n, data)) return data + def cardinals(self, window, name, values): + self.s.sendall(struct.pack("