Gamepad

#include <Gamepad.idl>

Public Attributes

Name
readonly attribute DOMStringid
readonly attribute longindex
readonly attribute booleanconnected
readonly attribute DOMHighResTimeStamptimestamp
readonly attribute stringmapping
readonly attribute float []axes
readonly attribute GamepadButton []buttons
readonly attribute unsigned longdisplayId
readonly attribute GamepadHandhand
readonly attribute GamepadPosepose

Public Attributes Documentation

variable id

readonly attribute DOMString id;

variable index

readonly attribute long index;

variable connected

readonly attribute boolean connected;

variable timestamp

readonly attribute DOMHighResTimeStamp timestamp;

variable mapping

readonly attribute string mapping;

variable axes

readonly attribute float [] axes;

variable buttons

readonly attribute GamepadButton [] buttons;

variable displayId

readonly attribute unsigned long displayId;

variable hand

readonly attribute GamepadHand hand;

variable pose

readonly attribute GamepadPose pose;