Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
evgeny.demidov.754's avatar
6 years ago
Solved

WebXR: how to migrate from oculus go to qwest?

I'm using Oculus Go controls (touchpad + trigger) in my WebXR molecular viewer at www.ibiblio.org/e-notes/webxr/mini.htm. To migrate from Go to Quest I'd like to know, what corresponds to "selectend event" and "xrSession.inputSources[0].gamepad.axes[0/1] on Quest?

1 Reply

  • On the Quest thumbstick is exposed as xrSession.inputSources[0/1].gamepad.axes[touchpad X, touchpad Y, thumbstick X, thumbstick Y] where 0/1 correspond to the right/left hands. Therefore axes[2,3] should be used (instead axes[0,1] on the Go) to get X,Y coordinates. See e.g. www.ibiblio.org/e-notes/webxr/mini/micro3q.htm.