Skip to content
SiteEmail

Gamepad

#include <Gamepad.idl>

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
readonly attribute DOMString id;
readonly attribute long index;
readonly attribute boolean connected;
readonly attribute DOMHighResTimeStamp timestamp;
readonly attribute string mapping;
readonly attribute float [] axes;
readonly attribute GamepadButton [] buttons;
readonly attribute unsigned long displayId;
readonly attribute GamepadHand hand;
readonly attribute GamepadPose pose;