cancel
Showing results for 
Search instead for 
Did you mean: 

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 ACCEPTED SOLUTION

Accepted Solutions

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.

View solution in original post

1 REPLY 1

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.