webxr-input-profiles
webxr-input-profiles copied to clipboard
XRInputSource Gamepad reports empty axes array
First of all, I am not sure if this is the appropriate place to report this issue, but I will try nonetheless and feel free to move it if necessary.
XRInputSource should be conforming with 'xr-standard' mapping but reports an empty Axes array.
HMD: Oculus quest 2. Profile used is forced to 'oculus-touch-v3' since a bug from OculusVR reports the following profiles : (2) ["oculus-touch", "generic-trigger-squeeze-thumbstick"]
I load my motion controller profile using the tools given by the webxr-input-profiles package but when I try to retrieve axis data to animate my motion controller (as per the sample code in https://immersive-web.github.io/webxr-input-profiles/packages/motion-controllers/#thumbstick-and-touchpad-components) the components' value object contains the following data.
- State reports default
- Button reports 0
- xAxis and yAxis report 0
The value retrieved from the visualResponse node for the axes is 0.5.
ie. console.log('thumbstick %s , values [state: %s, button: %f, xAxis: %f, yAxis: %f]', component.rootNodeName, component.values.state, component.values.button, component.values.xAxis, component.values.yAxis);
Expected behavior XRInputSource to have a valid Axes array where the data is updated.
Screenshots
Version ├── @webxr-input-profiles/[email protected] ├── @webxr-input-profiles/[email protected]
Desktop (please complete the following information):
- OS: Windows 10 Enterprise Version 10.0.18363 Build 18363
- 3D engine: corporative 3D engine
- Browser Google Chrome
- Version 88.0.4324.146
All other buttons and triggers report correct live data and I have managed to animate the corresponding buttons. I'd appreciate any insight on the source of the issue.
Thank you