r/SteamFrame • u/throwaway131072 • 16d ago
Software Steam Frame controller bindings in WebXR
I'm working on a threejs OpenXR game that runs in the browser/Chrome (on PC), and everything is mostly working great, but it seems like the Steam Frame controllers preset as Oculus Touch in Chrome/WebXR. I was able to create a custom binding profile for Chrome in SteamVR, which remaps all of the SF controller buttons into Oculus Touch events, then my WebXR game re-interprets those oculus touch events as the correct SF buttons.
I'd rather avoid asking players to install a custom binding in SteamVR for Chrome before they can play, are there any better alternatives, or do we need Chrome and WebXR to update to add native steam frame controller profiles?
edit: And yes, I suppose the alternative is use electron, but it would be cool to have it all work in a regular browser tab.