isDown(buttonCode) → {boolean}
Returns true if the button is currently pressed down, on ANY gamepad.
Parameters
Name | Type | Description |
---|---|---|
buttonCode | number | The buttonCode of the button to check for. |
Returns
boolean -
True if a button is currently down.
- Source code: input/Gamepad.js (Line 457)
Please login to continue.