Files
Pierre Kisters c16fe05309 Passthrough toggle: room view button cycles Off -> colour -> mono
steamFrame.dashboard.passthroughToggle: the SteamVR dashboard's room view
button cycles Off -> colour (Arcturus Vision camera) -> monochrome IR -> Off,
with a purple eye in colour mode. A Steam UI patch on the dock bar windows,
a CDP relay and a small Rust helper that switches the camera source through
SteamVR's IVRCameraPassthroughInternal_001 (vrclient.so from the SteamVR
install, nothing vendored). Cleanup artifact for SteamVR's client log.

Adapted from toorux/steam-frame-passthrough-toggle and
KominoVR/frame-passthrough-shortcuts (MIT), see README Credits.
2026-10-15 05:05:12 +02:00

10 lines
280 B
JavaScript

// Reverts patch.js (icon colour, listeners, observer, timer, pending relay
// calls): the room-view button is a stock toggle again. Safe when not
// patched.
(() => {
const st = window.__sfuiPassthrough;
if (!st) return 'not patched';
st.stop();
return 'unpatched';
})()