New issue
Advanced search Search tips

Issue 762989 link

Starred by 0 users

Issue metadata

Status: Fixed
Owner:
Closed: Sep 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Task
Proj-XR



Sign in to add a comment

WebVR sample 03-vr-presentation.html does not support Gamepad API clicks

Project Member Reported by dbbrooks@chromium.org, Sep 7 2017

Issue description

Chrome Version: 62.0.3202.8
OS: Android N
VRCore: 1.8.163477258

Note: This works in Chrome 61.0.3163.79

What steps will reproduce the problem?
(1) Enter any WebVR presentation where screen clicks should work. In either cardboard or Daydream. E.g. https://webvr.info/samples/03-vr-presentation.html
(2) Click with Daydream remote or if using cardboard, press the click button.

What is the expected result? clicks are registered. On https://webvr.info/samples/03-vr-presentation.html the background color should change.

What happens instead? Clicks are not registered. Nothing happens when clicking.
 
Cc: -vsupruniuk@google.com -leilei@chromium.org bajones@chromium.org
Labels: -Type-Bug-Regression Type-Task
Status: ExternalDependency (was: Untriaged)
As far as Chrome is concerned this is WAI. The sample sites need to update their implementation to use the gamepad api for screen taps and daydream controller clicks.
Components: -Internals>VR Blink>WebVR
Labels: M-62
Owner: bajones@chromium.org
Status: Available (was: ExternalDependency)
Brandon, I think you are still maintaining these?
Status: Assigned (was: Available)
Yes, I'm still maintaining them. I'll update this behavior today or tomorrow.
Summary: 03-vr-presentation.html sample: WebVR screen clicks don't support Gamepad API clicks (was: WebVR screen clicks don't work)
The sample was using the "Cardboard-compatible" click event, which was removed in M62 ( issue 716571 ). Updating the page to use the Gamepad API will also enable it to support other platforms and user agents.
Summary: WebVR sample 03-vr-presentation.html does not support Gamepad API clicks (was: 03-vr-presentation.html sample: WebVR screen clicks don't support Gamepad API clicks)
Status: Fixed (was: Assigned)
WebVR.info samples updated to handle gamepad clicks here: https://github.com/toji/webvr.info/commit/d73e6182287e3c6c0daa4d3d2ea578a31a2e5a6b
Components: Blink>WebXR

Sign in to add a comment