Jump to content

WebXR Controller Button Press not working


EricLu

Recommended Posts

Hi. I am trying to build WebXR applications on the Vive XR Elite. When I develop using the WebXR input profiles on the Vive browser, somehow only the grip button and trigger button could be detected on the controller. The A/B/X/Y/Thumbstick buttons are not working. Please check this scene for a demo of the issue: https://playground.babylonjs.com/#28EKWI#490. If you go to this link on the Vive browser and go in immersive vr mode, when you press a button, a cube will change scale. Though only three buttons on the controller is detected.

The WebXR input profiles does not support Vive XR Elite (https://github.com/immersive-web/webxr-input-profiles/tree/main/packages/assets/profiles), so I used the Vive focus 3 profile, which has essentially the same controller components. I wonder whether this is the issue, or a vive browser wolvic version issue. Any help would be much appreciated. Thanks.

 

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...

We have this exact same issue with our BabylonJS WebXR application, and HTC Vive devices are the only ones (we test with 5 different devices, from 4 different vendors, total) that are affected. The Vive XR Elite controllers aren't included in webxr-input-profiles, which means button mapping do not work and the controllers shown in our BabylonJS app are incorrect (still Vive controllers, but not XR Elite). Even if it were fixed in input profiles, we'd need a newer version of Wolvic to see the new controller models properly.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...