The WebXR Gamepads Module is for accessing the state of buttons, triggers, thumbsticks, and touchpads associated with virtual reality (VR) and augmented reality (AR) motion controllers on the Web. This specification is a product of the Immersive Web Working Group. This specification module describes support for accessing button, trigger, thumbstick, and touchpad data associated with virtual reality (VR) and augmented reality (AR) devices on the Web. Hardware that enables Virtual Reality (VR) and Augmented Reality (AR) applications are now broadly available to consumers, offering an immersive computing platform with both new opportunities and challenges. The ability to interact directly with immersive hardware is critical to ensuring that the web is well equipped to operate as a first-class citizen in this environment. The WebXR Gamepads module adds interfaces and behaviors to the WebXR Device API and the Gamepads API to allow for querying the state of buttons, triggers, thumbsticks.
Features
- Fixed displays with head tracking capabilities
- Mobile devices with positional tracking
- Head mounted displays, whether they are opaque, transparent, or utilize video passthrough
- WebXR Device API Integration
- Button, trigger, thumbstick, and touchpad data is reported though a Gamepad object
- This specification is a product of the Immersive Web Working Group