1.26.2.1
Gameface
Gamepad Interface Reference

Public Attributes

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
 

Member Data Documentation

◆ axes

readonly attribute float [] Gamepad::axes

◆ buttons

readonly attribute GamepadButton [] Gamepad::buttons

◆ connected

readonly attribute boolean Gamepad::connected

◆ displayId

readonly attribute unsigned long Gamepad::displayId

◆ hand

readonly attribute GamepadHand Gamepad::hand

◆ id

readonly attribute DOMString Gamepad::id

◆ index

readonly attribute long Gamepad::index

◆ mapping

readonly attribute string Gamepad::mapping

◆ pose

readonly attribute GamepadPose Gamepad::pose

◆ timestamp

readonly attribute DOMHighResTimeStamp Gamepad::timestamp