mirror of
https://github.com/lhns/steam-frame-nix.git
synced 2026-10-17 13:01:00 +02:00
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.
10 lines
280 B
JavaScript
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';
|
|
})()
|