[readonly] pad3 : Phaser.SinglePad
[readonly] active : boolean If the gamepad input is active or not - if not active it should
[readonly] pad1 : Phaser.SinglePad
[readonly] supported : boolean Whether or not gamepads are supported in current browser.
onDownCallback : Function This callback is invoked every time any gamepad button is pressed down.
justPressed(buttonCode, duration) → {boolean} Returns the "just released"
start() Starts the Gamepad event handling.This MUST be called manually before Phaser will start polling the Gamepad API.
stop() Stops the Gamepad event handling. Source code:
isDown(buttonCode) → {boolean} Returns true if the button is currently pressed down, on ANY gamepad
addCallbacks(context, callbacks) Add callbacks to the main Gamepad handler to handle connect/disconnect/button down/button up/axis change/float
Page 2 of 3