我在https://www.ibiblio.org/e-notes/webxr/mini.htm的WebXR分子查看器(纯JavaScript + WebGL + WebXR)中使用Oculus Go控件(触摸板+触发器)。要从Go迁移到Quest,我想知道Quest上的"selectend event“和"xrSession.inputSources.gamepad.axes0/1”对应的是什么?
发布于 2020-09-20 23:57:40
在Quest拇指棒上显示为
xrSession.inputSources[0/1].gamepad.axes[touchpad X, touchpad Y, thumbstick X, thumbstick Y]其中0/1对应于右手/左手。因此,应该使用axes[2,3] (而不是axes[0,1] on the Go)来获取X,Y坐标。
例如,参见https://www.ibiblio.org/e-notes/webxr/mini/micro3q.htm。
https://stackoverflow.com/questions/62651999
复制相似问题