WebXR Gamepads Module - Level 1

The WebXR Gamepad Module defines how the Gamepad API integrates with WebXR to communicate the state of various physical inputs (such as buttons, touch pads, and triggers) of an XRInputSource. Previously the Gamepad API was used in conjunction with the deprecated WebVR API, and was adopted by WebXR with additional ergonomic improvements to support it's input needs. It is being shipped as a module rather than part of the WebXR core API to allow it to evolve more flexibly as the Gamepad API con

This API enables developers to address VR controllers by understanding and responding to the various buttons and other physical inputs as they differ from controller to controller. Web developers will be able to make their sites respond reasonably and as-desired from interactions with various controllers' buttons/touchpads/triggers thanks to this API.

Comments

For more information on the state of WebXR in Chrome, reference this document: https://docs.google.com/document/d/1R8Bz0_vK9YmY5-ZhsbLtZ9-DDJpTOgNeibFD4SdUnbw/edit

Demos

Documentation

Specification

Editor's draft

Status in Chromium

Blink>WebXR>VR


Origin trial (tracking bug) in:

  • Chrome for desktop release 76

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

  • In development
  • In development
  • No public signals
  • No signals

Owners

Last updated on 2019-08-30