Closed MortimerGoro closed 3 years ago
I updated to 3.5.0.67.
I can only get this buttons to work:
I couldn't get these ones to work:
The thumbstick axis values are also 0 instead of the correct scroll values.
VR Team - the preliminarily finding is it is not an issue: we suggest sharing your code implementation. The virtual fence/border in version 3.5.0.67 is based on the key information obtained by the OpenXR interface, and the left and right hand key press events are valid.
@MortimerGoro please share your findings/log/implementation. Thanks.
@MortimerGoro response:
The mappings are set now here: https://github.com/MortimerGoro/FirefoxReality/blob/mortimer/hvr_prs/app/src/openxr/cpp/OpenXRInputMappings.h#L192
I tried different combinations of x,y,a,b without luck. You can uncomment the shared lines in local builds.
I added some log message when you click any openxr button (it's in https://github.com/MortimerGoro/FirefoxReality/blob/mortimer/hvr_prs/app/src/openxr/cpp/OpenXRInputSource.cpp#L197)
Alternatively you could send a version of the HVRSDK_XrDemo
app with the bindings working for the 6DOF controller. The demo is still using the 3DOF buttons so I can't compare with it.
These are the versions I'm using, please let me know if I'm missing any update:
VR SDK Service: 3.5.0.67
VR Controller: 9.52.6
SDK: hvrsdk-openxr-3.5.0.67
VR Launcher: 11.1.0.127
@fwei-io the SDK team mentioned they can share a new OpenXR demo which has a working implementation of 6DOF controllers. I have tested the demo from https://developer.huawei.com/consumer/cn/doc/development/graphics-Examples/openxr-sample-code-0000001102007332 but it's only based in 3DOF controllers.
Could you share a link to download the new 6DOF demo?
In case you want to locally debug the app I also added instructions to build Firefox Reality here: https://github.com/hms-ecosystem/OpenXR-SDK/issues/16 Let me know if you have any questions.
VR Team to share a XR_Demo including the use of 6dof buttons - delivery date: 11/5/2021
The latest SDK does not fully support the input paths defined in 6DOF profile, which will be completed in the future. You can refer to the use of the input paths in the latest HVRSDK_XrDemo, which can get all 3-6dof controller key information correctly. And this demo has been shared to relevant colleagues.
@MortimerGoro per @Lixming, here is the HVRSDK_XrDemo.
Thanks, I fixed it using the correct controller values
SDK: hvrsdk-openxr-3.0.0.33.zip
I'm using a OpenXR input mapping similar to Oculus Quest Touch controller and I can only get this buttons to work:
I can't get these other paths to work:
The trackpad/thumbstick axis values are also 0 instead of the correct scroll values.