onUpCallback : Function This callback is invoked every time a gamepad button is released.
game : Phaser.Game Local reference to game.
processButtonUp(buttonCode, value) Handles button release. Parameters
isUp(buttonCode) → {boolean} Returns true if the button is not currently pressed. Parameters
connect(rawPad) Gamepad connect function, should be called by Phaser.Gamepad. Parameters
callbackContext : Object The context under which the callbacks are run. Source
buttonValue(buttonCode) → {number} Returns the value of a gamepad button. Intended mainly for cases
axis(axisCode) → {number} Returns value of requested axis. Parameters
pollStatus() Main update function called by Phaser.Gamepad. Source code:
processButtonDown(buttonCode, value) Handles button down press. Parameters
Page 2 of 3