Gamepad
@JSType
Represents the state of a connected gamepad device.
trait Any
class Object
trait Matchable
class Any
Value members
Abstract fields
@ExposedJSMember
An array containing the state of all of the gamepad's axes, from -1 .. 1.
An array containing the state of all of the gamepad's axes, from -1 .. 1.
@ExposedJSMember
The current state of all the gamepad's buttons.
The current state of all the gamepad's buttons.
@ExposedJSMember
True if this gamepad is currently connected.
True if this gamepad is currently connected.
@ExposedJSMember
The identification string for the gamepad.
The identification string for the gamepad.
@ExposedJSMember
The index of the gamepad as returned by Navigator.getGamepads
The index of the gamepad as returned by Navigator.getGamepads
@ExposedJSMember
The layout of the gamepad. Either "standard" or unknown ("").
The layout of the gamepad. Either "standard" or unknown ("").