WebXR Gamepads Module
Jump to navigation
Jump to search
| Status | WD |
|---|---|
| Last Updated | 26 April 2022 |
| Editor(s) | Brandon Jones, Manish Goregaokar, Rik Cabanier |
| Former Editor(s) | Nell Waliczek |
| CG or WG? | WG |
The WebXR Gamepads Module defines how button, trigger, thumbstick, and touchpad data are reported by adding a Gamepad object exposed on an XRInputSource.
WebIDL[edit]
partial interface XRInputSource {
[SameObject] readonly attribute Gamepad? gamepad;
};