New issue
Advanced search Search tips

Issue 873717 link

Starred by 2 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug
Proj-VR
Proj-XR

Blocking:
issue 773882



Sign in to add a comment

OpenVR gamepad may not expose all controller buttons immediately.

Project Member Reported by billorr@chromium.org, Aug 13

Issue description

From WebVR chat:

sjpt [6:39 AM]
Issue in Chrome related to previous gamepad issue.  I find that the latest Chrome sometimes reports the Vive controller with only one button, rather than the usual four.  Usually at the start of a session, and then later in the session it gives the expected result.
 
This bug is consistent. If i start a session in VR without turning on the vive controller(only the headset is on) & then turn on the controller in the middle of the session it throws error. For testing i have used threejs paint example: https://threejs.org/examples/?q=vive#webvr_vive_paint. It gives me the following error: "TypeError: gamepad.buttons[2] is undefined". I have also tested other three.js example & the result is same.

The bug is happening both in canary & firefox.


Cc: klausw@chromium.org billorr@chromium.org
Fyi - another controller bug that may or may not indicate a deeper problem.  I don't believe this will affect WebXR.
Blocking: 773882
Labels: -Pri-3 Pri-2

Sign in to add a comment