Gamepad axes (for the "standard"
mapping, this means only the thumbsticks, not any triggers.)
"standard" mapping values per https://w3c.github.io/gamepad/#remapping :
See also:
Gamepad buttons (for the "standard"
mapping, this include the triggers.)
"standard" mapping values per https://w3c.github.io/gamepad/#remapping :
See also:
Indicates if this gamepad is still connected or not.
See also:
A VRDisplay.displayId
this gamepad is associated with.
See also:
A browser specific string defining what kind of gamepad this is. Note that this does not uniquely identify the gamepad, multiple gamepads of the same type (or even different types, if provided through xinput) may share the same Gamepad.id. If you want to differentiate multiple gamepads, instead use Gamepad.index.
Examples observed:
"xinput"
"Xbox 360 Controller (XInput STANDARD GAMEPAD)"
"DUALSHOCK®4 USB Wireless Adaptor (Vendor: 054c Product: 0ba0)"
"054c-0ba0-DUALSHOCK®4 USB Wireless Adaptor"
"Wireless Controller (STANDARD GAMEPAD Vendor: 054c Product: 09cc)"
"054c-09cc-Wireless Controller"
See also:
A unique index corresponding to this gamepad. Stable for as long as the gamepad is connected. Might be reused if the gamepad is disconnected and a new one connected in it's place. Corresponds to the index of Gamepad[] arrays that have not culled null/undefined/nonstandard gamepads only!
See also:
The gamepad mapping. "standard" | ""
.
See also:
A unique timestamp for when this gamepad data was last updated.
See also:
Generated using TypeDoc
See also: