[readonly] supported : boolean Whether or not gamepads are supported in current browser.
[readonly] pad1 : Phaser.SinglePad
onDownCallback : Function This callback is invoked every time any gamepad button is pressed down.
[readonly] active : boolean If the gamepad input is active or not - if not active it should
onUpCallback : Function This callback is invoked every time any gamepad button is released.
[readonly] pad3 : Phaser.SinglePad
addCallbacks(context, callbacks) Add callbacks to the main Gamepad handler to handle connect/disconnect/button down/button up/axis change/float
callbackContext : Object The context under which the callbacks are run. Source
stop() Stops the Gamepad event handling. Source code:
isDown(buttonCode) → {boolean} Returns true if the button is currently pressed down, on ANY gamepad
Page 2 of 3