VR keyboard controller bridge: no traffic while idle

The relay no longer enables the Runtime domain on systemui (bindings work
without it; it streamed the page's console and context events). Full-rate
frames only while a tip is within 10 cm of the keyboard or a trigger is
pulled (not for a laser resting on it); idle frames every 1 s instead of
250 ms. Nothing while the keyboard is hidden.
This commit is contained in:
Pierre Kisters committed 2026-10-01 03:33:07 +02:00
1 parent 224715d926
commit 63d589c261
4 files changed
+14 -12

No files matched your search

+3 -3
View File
@@ -219,9 +219,9 @@ to the laser only. Depends on Steam and SteamVR UI internals (see
animated `trigger` component (not yet verified). The
`vr-keyboard-controllers-relay` user service carries these frames to
Steam's `SharedJSContext`: up to ~90 Hz (45 Hz and more under load)
while a hand is within 10 cm of the keyboard, its laser is on it or its
trigger is pulled, else every 250 ms, and only while SteamVR shows the
keyboard. The laser hit matches SteamVR's laser to a few px.
while a hand's tip is within 10 cm of the keyboard or its trigger is
pulled, else every second; nothing while the keyboard is hidden. The
laser hit matches SteamVR's laser to a few px.
- **Touch typing** (patch `vr-keyboard-touch`, `SharedJSContext`): per hand
`tracker.js` turns the tip's path into press and release, then calls the
keyboard's own `HandleTouchStart` / `HandleTouchEnd` with the key under