frametop

Design: the 3D mouse and the input relay

These sections were split out of design.md to keep it readable.

The 3D mouse

The mouse works like the pointer on the Apple Vision Pro: a small cursor floats in the room, lands on whatever panel it meets, and acts on it like a controller’s laser.

A virtual controller

SteamVR’s dashboard and every overlay it hosts are driven by the vrcompositor lasermouse action set: a pointer pose, left, right, and middle click, back, home, scrolling, and a system button that toggles the dashboard. So the 3D mouse is a virtual controller. The ft_pointer driver adds an invisible controller (its render model is a single transparent triangle) with its own controller type and default bindings for vrcompositor and the Steam client. Its /input/a button is bound to lasermouse_secondary/switchlaserhand, which moves the laser to it without clicking. /pose/tip didn’t work for the laser, because tip is defined by a render model; /pose/raw does.

Driver poses are in SteamVR’s raw tracking space, and client programs work in the standing universe, which on the Frame is about 1.6 m above raw. Mixing them up put the laser’s origin 1.6 m above your head. The helper converts using the headset’s pose in both spaces every frame.

Frametop’s SteamVR clients (ft-pointer, ft-screens, ft-gaze) connect as a background app first and switch to an overlay app only once that works. VR_Init as an overlay app starts vrserver itself when none is running, and one started that way from the dev container never finds the headset. At a boot where the gamescope session timed out, systemd dropped steamvr.service’s start job, the pointer service (ordered only After= it) started anyway, and its vrserver made every SteamVR launch fail with HmdNotFound. SteamOS’s health check then kept resetting the Steam client and tried to fall back to the previous OS slot. The units also say Requisite=steamvr.service, so they don’t start at all when SteamVR’s start fails.

The driver starts disconnected, because holding the right-hand role while SteamVR starts leaves the Steam UI stuck on its loading icon. It connects when the mouse is used. With a hand role (POINTER_ROLE=right, the default before the treadmill role) it claims that hand: SteamVR keeps a hand role reserved for a disconnected device that still asks for it, so the driver switches its role hint between the hand (connected) and opt-out (not connected). The treadmill role (below), now the default, needs no switching.

Treadmill role

With a hand role, a Frame controller held in that hand takes the role back (its touch sensors count as use), and the virtual controller is left with no role and no clicks. So mixing a controller in one hand with the 3D mouse or a bare hand’s ray in the other fails whenever that controller is merely held. The treadmill role (4) is no hand: the real controllers keep both hand roles, and the virtual controller never fights them. It held the dashboard laser in the gaze-first tests (2026-09-30, branch gaze-first), with two conditions. SteamVR gives a device the /user/treadmill path only when the device is added, so the driver must hint the role from Activate, not on connect: the role in its default.vrsettings (or driver_ft_pointer/role in SteamVR’s settings), and switching it needs a SteamVR restart. And the compositor binding needs /user/treadmill entries next to the hand ones (ft_pointer_vrcompositor.json). A treadmill reports no controller role (GetControllerRoleForTrackedDeviceIndex is invalid), so the helper’s “no hand role” release skips it. The laser claim (/input/a, bound to switchlaserhand) works the same; SteamVR took the laser back to our device 11-15 ms after a controller took it.

A treadmill can’t move SteamVR’s own floating windows by their grab bars, though: SteamVR’s dashboard (a web page in vrwebhelper) starts a window’s move in UndockedOverlay.startFloatingWindowMove, which reads the pressing device from the mouse event’s CapsLock and NumLock bits (head, left hand, right hand) and, for anything else, logs “mouse event carried no input path” and does nothing. Clicks and resizes don’t ask, so only moves broke, from 2026-10-09, when treadmill became the default (found 2026-10-13, SteamVR 2.18.2; with role 2 the same laser moved them). pointer/dashpatch puts that back. treadmill-move.js wraps the grab bar’s handler: a press with no device runs it as the right hand, with that one pose query answered by /user/treadmill, and the move then follows /user/treadmill. ft-dashpatch.py run (frametop-dashpatch.service, started with SteamVR) puts it into the dashboard over the Chrome DevTools Protocol, again whenever the page is new, and checks every 30 s that it’s still in. The dashboard’s debugger is off unless VRWebHelper/DebuggerEnabled is on; the installer turns it on (ft-dashpatch.py on, from SteamVR’s next start) on port 8089, bound to 127.0.0.1. Not the usual 8087: SteamOS’s steamvr-web-debug-portforward.service forwards 0.0.0.0:8088 to 127.0.0.1:8087, which would open the dashboard to the network. Like Steam’s own debugger on 8080, any local program can use it. The uninstaller turns it off again if Frametop turned it on. The patch finds the handler by its name and React by its module, so a SteamVR update that renames them leaves windows unmovable for the treadmill again, without breaking anything else; ft-dashpatch.py status shows whether it’s in and how many moves it made.

The cursor

Mouse motion turns into yaw and pitch around an anchor, the head position at the last recenter. A ray from the anchor is tested against every visible overlay with ComputeOverlayIntersection. On a hit, the cursor sits on that surface; otherwise it floats at POINTER_DISTANCE. Since the anchor isn’t your current eye position, a second test runs along your line of sight to the cursor point, and anything nearer wins, so the cursor always lands on what you see under it. Overlays in POINTER_IGNORE are left out of both tests. A display-only panel, like a performance overlay locked to your view, has no input method, so SteamVR’s laser passes through it, but ComputeOverlayIntersection still hits it, and the cursor stuck to it. The laser starts just before the cursor point, so an ignored panel nearer to you doesn’t catch it either. Both tests ask SteamVR about every visible overlay, so a frame where nothing moved (the mouse, the anchor, the eye by more than 5 mm, which overlays show) reuses the last result, for up to 100 ms, since overlays can also move on their own. The dots’ overlay settings go to SteamVR only when they change, and the pose goes to the driver, which keeps the last one, only when the laser would land 0.1 mm or more elsewhere, and at least every 100 ms.

OpenVR has no call to list other programs’ overlays, so the helper runs vrcmd --overlays in the background. It includes hidden overlays, because a floating window’s controls only appear while something hovers the window, and the cursor has to find them immediately. Each run is a shell and a new SteamVR client, about 30 ms of CPU, and it ran every second while the pointer was awake, which in gaze mode is all the time. Now it runs every 20 seconds, and at once when the pointer wakes, when the dashboard opens or closes, when a game starts or ends, and when a left click hits nothing (a panel that came up since). An overlay already on the list showing or hiding needs no new list: the helper checks the visibility of the ones it knows every 50 ms.

The laser starts partway along your line of sight to the cursor rather than at your eye. SteamVR sizes its hit dot by distance from the laser’s origin, and a laser from the eye still shows a beam in each eye. Starting it close to the target makes the beam and the dot tiny, while POINTER_ORIGIN_MARGIN keeps the origin in front of the small window controls, which float a few centimetres in front of their panels. The helper’s own white dot is the visible cursor. In empty space it’s an interactive overlay that the laser lands on, so SteamVR never draws a laser into nothing.

A few overlays need special handling:

Head follow is experimental and off by default. It works, but it’s only lightly tested, and the feel is mostly a matter of its settings; polishing it is left open. With it on (POINTER_FOLLOW=1, or a mouse button mapped to Head follow on/off), the cursor rides on a reference direction, where you were facing when your head last settled, and keeps its offset from it. The mouse can put the cursor anywhere up to POINTER_FOLLOW_REACH (70 degrees) from the reference, a corner of your view included. While your head stays within POINTER_LEASH_DEG of the reference, nothing moves on its own. Once your head has been past the leash for POINTER_LEASH_DELAY (0.2 s, so a glance out and back doesn’t count), the reference eases to where you’re facing (time constant POINTER_LEASH_RETURN, 0.2 s), never falling further behind than the leash, and the cursor ends up back where it was in your view. Then it waits for the leash again. Two earlier versions didn’t work out. Moving the reference only while your head pulled at the end of the leash left it up to the leash off after you turned back, and getting it centred again meant overshooting with your head. Easing it toward your facing all the time moved the cursor on every small head movement. A leash of 0 makes the reference your facing direction, so the cursor is locked to your view, and mouse movement shifts it within the view. Head roll is ignored, so tilting your head doesn’t swing the cursor around. While the left button is held the cursor stays put in the room, so your head can’t nudge a click or a drag. When you let go, it carries on from where it is instead of jumping.

Gaze mode is experimental and off by default (POINTER_GAZE=1, the Gaze page of Frametop Input Settings, gaze/ft-gazectl on, or a mouse button or key combination mapped to Gaze pointer on/off). It’s MAGIC pointing (Zhai, Morimoto and Ihde, 1999): the pointer goes where you look, and the mouse does the last bit. The gaze service (gaze/ft-gazed) sends the helper the corrected gaze at 90 Hz (from one eye while the tracker has lost the other), and while the gaze has the pointer, the cursor ray is that gaze from the eye. The pointer is aimed at the gaze each frame, not steered toward it, so nothing can pile up. An earlier try in the gaze probe steered the pointer with relative moves, and lost it when the pointer went idle or a controller had the laser. By default (POINTER_GAZE_MOUSE_MOVE=held, the Gaze page’s Mouse movement switch) moving the mouse does nothing while the gaze has the pointer: it moves the pointer only while a button is held, as a correction. A bumped or drifting mouse can’t pull the pointer off what you’re looking at, and every mouse move is a correction, so the lessons aren’t polluted by mouse moves to somewhere else (they used to be kept out by an 8 degree limit, which also dropped real corrections when the tracker was further off). With the gaze stale for a second, in a game, or with the headset off, the mouse moves the pointer as usual; with free, moving the mouse takes the pointer from the gaze. A left press while the gaze has the pointer isn’t sent at once: the pointer stops where the gaze put it, you drag it onto what you meant with the button still down (panels only see it hover), and the release clicks there. Clicking at once clicked wherever the gaze was, often the wrong thing, before you could correct it. The drag is the correction. Snapping the pointer onto buttons and links is deferred: the session now starts an AT-SPI registry, but apps still need to expose useful accessibility trees (and may need restarting), and it makes Chromium and Electron apps use more CPU. A press held still for POINTER_GAZE_HOLD (0.5 s) becomes a real press, so drags still work: hold, then move. The right button works the same way, with the right click on the release, and pressing it while the left press is held back starts a drag where the pointer is, like Meta+J then Meta+K. That drag lasts while either button (or key) is held, so a second right press, or a second Meta+K, is free to pan and tilt the panel being dragged; with the keyboard, the head turns it. Outside games the pointer then stays: the mouse going idle doesn’t release it. A moving controller still releases it, as without gaze. Gaze mode is a mouse and keyboard feature: Steam reads the Frame controllers itself, outside SteamVR’s bindings, so controller clicks at the gaze kept knocking SteamVR out of laser mode (see docs/gaze-controllers.md). Keyboard clicks (Meta+J, Meta+K) hold the dot still in your view while the keys are down, so the head, not the mouse, does the last bit; a quick tap clicks where the dot was at the press, since the head moves as you hit the keys. The relay hides Meta from the desktop as soon as such a combination fires, because KWin takes Meta with a mouse button as a window move or resize, which swallowed the clicks. The dot shows all the time by default. With POINTER_GAZE_DOT=moving it shows only while the mouse moves it (POINTER_GAZE_SHOW), while a press is held, and as a pulse for each click; otherwise it’s transparent, so the laser still lands on it. Looking more than POINTER_GAZE_RETAKE (5 degrees) away from it, with the mouse still, gives it back, so small eye movements around the pointer don’t pull it off what you’re doing. A mouse nudge before a click whose correction is within POINTER_GAZE_NUDGE_MAX (55 degrees, half of what the headset shows across) is sent to the gaze service as a lesson: you were looking at where you clicked when the mouse took over, so the nudge is the eye tracker’s error there. Using it is what calibrates it. A one-dot check in a panel fixed to the headset tops that up when the headset goes on, when our tracker thinks it moved, and when a correction is past that limit (the tracker is far off, so a click there isn’t trusted as a lesson), and the full calibration and the headset fit check run in the same panel, so everything a user does to calibrate happens in one place in the headset; the gaze probe, a fullscreen GTK app, is the development tool. The limit was 8 degrees, which dropped every correction while our tracker was 12 off. Its dots sit at known directions from the headset, so the panel needs no screen geometry. The quick check’s dot takes the gaze once it has held still, so what the tracker says doesn’t have to be close for the capture to work. The full calibration’s and the five-dot check’s dots wait for a click while you look at the dot (a left click, Enter, an index pinch or Meta+J), because a steady gaze isn’t always on the dot, and take the gaze held still up to the click; a right click or Meta+K stops. See gaze/README.md for the service, the calibration, and what was measured.

Replacing a loaded driver’s files, as re-running the installer used to do, leaves SteamVR honoring the virtual controller’s hand role but not its laser claim: the dashboard pointer stays unassigned until SteamVR restarts. The driver installer now leaves an unchanged driver in place.

dashboard.laserRayWidthScale controls the beam’s width, but SteamVR only applies a change from its own settings screen or at restart, so it can’t be switched per device while running.

Handing the laser back and forth

The dashboard follows whichever device summoned it or last pressed its trigger. Frametop adds “last used wins”: moving a real controller releases the pointer, and the next mouse movement takes the laser back. Moving means faster than 0.35 m/s or 2 rad/s (both times POINTER_CONTROLLER_PICKUP, 1 by default) for 100 ms in a row, while the controller is tracked normally. A single sample over the limit used to be enough, and controllers resting on a desk took the laser back on a knock or a tracking jump while the mouse was in use. Small movements don’t count; waking needs POINTER_WAKE_COUNTS of mouse motion within a second, so desk jitter doesn’t steal the laser. While the pointer is awake, a tiny transparent overlay with MakeOverlaysInteractiveIfVisible keeps SteamVR’s laser mouse on, since otherwise the first click would only switch the laser on.

When the headset comes off, SteamVR reports its activity level as idle at once and turns the displays off 5 seconds later (power.turnOffScreensTimeout), unless something keeps it awake. An awake pointer did, and so did the helper’s vrcmd runs: each is a new SteamVR client, and a new client every second kept SteamVR out of standby. The helper now releases the pointer as soon as the headset is idle, ignores the mouse until you’re wearing it again, and pauses the overlay list whenever the pointer is off. With the pointer off it also stops running its loop every 8 ms, about 116 wakeups a second for nothing: it waits up to 250 ms for a command on its socket (20 ms while it reads mapped controller buttons, which SteamVR input only offers by polling), and leaves the overlay lookups until the pointer wakes.

Moving floating windows

For SteamVR’s own floating windows, the dashboard does the moving. A press on a window’s grab bar, 7.5 cm below its bottom edge, parents the window to the pressing device with the relative transform at the press. The scroll wheel pushes it along its normal in steps of about 7 cm. The dashboard finishes the move up to 150 ms after the release and reads the device’s pose again then, so the helper holds the drag pose for half a second after the button comes up. Tilting works by rotating the virtual controller around the grab point while both buttons are held.

Input relay

SteamVR opens every input device only when it starts. When a Bluetooth mouse sleeps and reconnects, it gets new device nodes, and SteamVR keeps holding the old, deleted ones, so the mouse stops working until SteamVR restarts. The relay creates permanent virtual devices through uinput before SteamVR starts and forwards the real devices’ events into them. systemd keeps the virtual devices’ file descriptors across relay restarts, so SteamVR never sees them disappear.

Keyboards aren’t grabbed by default, because a grabbed keyboard’s keys went into a virtual keyboard nothing typed from; the relay forwards them to ft-screens instead.

The 3D mouse scrolls with the virtual controller’s joystick, because SteamVR’s laser has no wheel. SteamVR doesn’t scroll once for each push: it adds up the time the joystick is deflected and scrolls a step for each 0.05 s at full deflection (about 20 steps a second, and proportionally fewer at less deflection), across short pushes too (measured 2026-10-31 with xev on the desktop: 10 pushes of 25 ms gave 5 to 6 steps, a 1.5 s hold 31). So the relay deflects it for 0.05 s per wheel notch, and a notch that comes during a push adds its time to it. A fast spin can’t scroll faster than 20 steps a second this way; the push stops at most 0.5 s after the last notch, so a long spin doesn’t go on scrolling after the wheel stops. Before, each notch restarted an 80 ms push: a lone notch was worth one or two steps, and a fast spin of 37 notches scrolled 16.

Frametop’s own panels don’t need the joystick. ft-screens knows which panel ft_pointer’s laser is on (its focus events), and while that panel shows and nothing drags it, it says so to the relay as the 5th word of its keyboard message (the 4th is its pause). The relay then sends each notch to ft-screens as wheel N, which scrolls it like SteamVR’s scroll event would, at the wheel’s own speed. Steam’s and SteamVR’s panels, and a panel being carried (where scrolling pushes it), still get the joystick.

The relay never waits on the pointer helper. Its socket to the helper used to block, so when the helper stalled (a layout placement or grabprobe holds it for seconds, and the gaze service fills its socket 90 times a second meanwhile), the whole relay stopped with it: keyboards, the volume keys, and pausing. Now what the helper doesn’t take waits in order and goes out on the next loops. Mouse moves add up into one while they wait, and a scroll notch is dropped, since scrolling seconds late is no use; presses and releases are kept, so no button stays down. Mouse motion goes to the helper at most every 4 ms, rather than once per report, which from a 1000 Hz mouse was 1000 datagrams a second to a helper that runs every 8 ms; a button sends the motion before it first, so the click lands where the pointer was.

An ungrabbed keyboard reaches both sides at once. In VR, gamescope reads every input device itself (the SteamOS build’s InputStealer, libinput with udev hotplug, so new devices too) and types into its focused app, and ft-screens types the same keys into the desktop. So Space in the desktop also paused Spotify on the dashboard. Typing now follows the last click. ft-screens sees clicks on its own screens, from the mouse or a controller. A click anywhere else is only visible for the mouse: overlay apps get SteamVR’s OverlayFocusChanged (which panel the laser is on) but no controller button events, so the pointer helper reports the panel under the dot on each left press. ft-screens tells the relay where typing goes every second, from an unbound socket so the relay’s replies can’t loop back into its control socket, and the relay grabs pass-through keyboards while it’s the desktop. A grab waits until the keyboard has no key down, so no key stays held on either side, and the relay lets go if ft-screens stops reporting. A program that reads every keyboard for a hotkey (a dictation tool, say) loses a grabbed keyboard. Repeating the keys on another input device doesn’t work: gamescope reads that device too, whether it’s the relay’s virtual keyboard or one created later, and every Space, typed or dictated, paused Spotify again. Until 2026-10-10, SHARE_KEYS=1 sent a grabbed keyboard’s keys to @frametop_keys as datagrams for frame-voice. It was off by default, because the relay can’t tell who is listening: abstract sockets have no permissions, and any local process that binds the name first got every key typed into the desktop, passwords included. Now frame-voice is part of Frametop (Frametop Voice), and the relay does its keyboard side itself: its push-to-talk key is a key combination, and its text comes to the relay as type TEXT, taken only from the relay’s own user (SO_PASSCRED), and goes where typing goes, like a keyboard’s keys: to ft-screens for the desktop, or the virtual keyboard for Steam, never both. Its own uinput keyboard went with it, so SteamVR no longer has to have opened a second keyboard for dictation to reach games.

A mouse button that pointer mode passes through as a key (a side button for Back) is a pointer button to ft-screens, not a key, so it goes to the screen the pointer is on rather than where typing goes. As a key, its release was lost whenever typing moved while it was held (the dashboard closing, a click on another panel, a pause), and wlroots counts presses per button: from then on that button, the lasers’ left click included, did nothing in the desktop, and KWin kept it held. So ft-screens tracks the relay’s buttons itself, lets a release through whenever it took the press, and releases them when the pointer leaves the screens, its screen hides, or Frametop pauses.

Volume keys must never reach gamescope. With the openvr backend, gamescope sends volume up and down to Steam by moving keyboard focus to Steam for the key and then back to the previously focused surface. When nothing had focus, the one it moves back to is null, and wlroots aborts on a null focus surface (wlr_seat_keyboard_notify_enter: Assertion 'surface' failed), which ends the whole VR session. Keyboard focus is often empty while you work in VR, so one press of the headset’s volume button could take everything down. gamescope reads the headset’s buttons and every keyboard itself (InputStealer), as do SteamVR’s processes, so the relay has to stop volume keys at the device. Grabbing gpio-keys would also take the headset’s click button, so the relay remaps the volume entries in each device’s keymap (EVIOCSKEYCODE) and handles the stand-in codes itself. That fix covers every device at once, including keyboards that aren’t grabbed.

Frametop’s keyboard opens by itself for a text field on the desktop. The apps run inside the nested KWin, so only KWin knows when a text field has focus, and the way it tells anyone is its input method protocol (zwp_input_method_v1): KWin starts one input method program and activates it whenever the focused app turns on text input. input/ft-textinput is that program, speaking the Wayland wire protocol directly so it needs nothing but Python on the host. It only reports focus. The gamescope session puts QT_IM_MODULE=xim and GTK_IM_MODULE=xim in the systemd user environment; with those, Qt and GTK apps use X input methods and never turn on Wayland text input, so the session script drops them.

The keyboard was first ft-screens’ own panel (screens/keyboard.cpp, removed in the 2026-10-31 cleanup; see below). We tried SteamVR’s first (ShowKeyboardForOverlay), and on the Frame it doesn’t fit a desktop. It’s Steam’s own panel (valve.steam.gamepadui.keyboard), which SteamVR mounts in the dashboard’s scene, so with the dashboard closed it opened but wasn’t drawn. Placing it in the room ourselves (SetKeyboardTransformAbsolute) made it show, but SteamVR moves it to whichever overlay the laser goes to and mounts it again, and while it’s open the controllers switch to SteamVR’s own laser. That panel was an overlay like the screens’ controls: any laser or the 3D mouse clicked it, nothing moved it, and its keys went out as key presses on ft-screens’ seat rather than as text handed back to the input method. So nothing typed left ft-screens (a socket to the input method could be claimed by any local process, as the old @frametop_keys could), apps without text input (X11, Electron) took the keys too, and they meant what the desktop’s keyboard layout says. Its label drawing (stb_truetype, so the container needs no text rendering stack) is now screens/label.cpp, which ft-screens’ other panels use.

Full Keyboard for Steam Frame (TaiKeid’s, keyboard/) replaces that panel when it runs: it has real layouts, input methods and themes, and it already replaces Steam’s keyboard in Steam’s fields. It types through gamescope (libei), which never sees the nested KWin, so in Frametop’s mode (--frametop) its desktop typing goes through the input relay instead, which already types Frametop Voice’s text there and knows where typing goes. The relay trusts it the way it trusts Voice: only this user’s datagrams, and only from the address that said hello, since the control socket is abstract and anyone can send to it. Full Keyboard in turn takes word only from the relay’s own name, and sends the desktop’s typing only while that word is fresh, so a stopped relay never leaves keys addressed to a name another process could bind. Keys go as key presses on ft-screens’ seat, as the old panel’s did, so they work in every app and nothing typed leaves Frametop’s processes; composed text goes through the desktop’s layout like dictation’s. ft-screens stays the one place that decides when a keyboard opens: while Full Keyboard says it runs, ft-screens passes its vrkeyboard commands to it through the relay.

Full Keyboard is the only keyboard (Daenon’s decision, 2026-10-31: “We can remove the backup keyboard”). ft-screens’ old panel was the fallback whenever no fullkb heartbeat had come in 3 s. It had one US layout and no input methods, and keeping it meant two keyboards to keep working, with two sets of placement, laser and step-aside rules. Now, while Full Keyboard isn’t running, a text field or a mapped button opens nothing: ft-screens logs keyboard not opened (...): Full Keyboard isn't running and replies ok no keyboard. frametop-keyboard.service restarts Full Keyboard when it crashes (Quit Full Keyboard in its Settings leaves it closed until SteamVR starts again, as before), and a keyboard that’s plugged in, dictation and Steam’s own keyboard (in the dashboard) still type. The cost is a gap with no on-screen keyboard while it restarts, or for good if it can’t start (a SteamOS update that breaks its dependencies; scripts/update-check.py lists what to retest).

In Frametop’s mode, Full Keyboard’s replacement of Steam’s own keyboard (bridge/, “native replacement”) is on by default, where upstream has it off. That’s deliberate: Frametop’s keyboard is meant to be the one keyboard in the headset, so a Steam text field gets the same layouts, languages and touch typing as the desktop. Upstream’s safeguards stay as they are: the hooks are feature-checked, Steam’s files aren’t patched, and Steam’s keyboard comes back by itself when Full Keyboard stops progressing. The setting is in its Settings, and turning it off is kept.

The Frame controllers can be mapped like mouse buttons, but they aren’t input devices on the host: they reach SteamVR over the headset’s own radio, and no evdev or hidraw node exists for them. So only a SteamVR client can read them. Overlay apps normally get controller input only while they have input focus, which a background helper never has. SteamVR’s experimental global action set priority (steamvr/globalActionSetPriority, “Enable global input from overlays”) lets an overlay’s action set receive input anyway, and takes the inputs it binds from the scene app. Binding every button would take them all from games, so the helper’s action manifest puts each button in an action set of its own, and it activates only the sets of mapped buttons. The mapping itself stays in the relay, which does the action, so mice and controllers share one list of actions.