nx.js
Classes

GamepadButton

Defines an individual button of a gamepad or other controller, allowing access to the current state of different types of buttons available on the control device.

See

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

Implements

Properties

PropertyTypeDescription
pressedbooleanMDN Reference
touchedbooleanMDN Reference
valuenumberMDN Reference

On this page