nx.js
Classes

Gamepad

Defines an individual gamepad or other controller, allowing access to information such as button presses, axis positions, and id.

See

https://developer.mozilla.org/docs/Web/API/Gamepad

Implements

Properties

PropertyModifierType
axesreadonlyreadonly number[]
buttonsreadonlyreadonly GamepadButton[]
connectedreadonlyboolean
deviceTypereadonlynumber
idreadonlystring
indexreadonlynumber
mappingreadonlyGamepadMappingType
rawButtonsreadonlybigint
styleSetreadonlynumber
timestampreadonlynumber
vibrationActuatorreadonlyGamepadHapticActuator

On this page