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