buttonValue(buttonCode) → {number} Returns the value of a gamepad button. Intended mainly for cases
callbackContext : Object The context under which the callbacks are run. Source
axis(axisCode) → {number} Returns value of requested axis. Parameters
new Gamepad(game) The Gamepad class handles gamepad input and dispatches gamepad events. Remember to call gamepad.start()
game : Phaser.Game Local reference to game.
justReleased(buttonCode, duration) → {boolean} Returns the "just released"
new SinglePad(game, padParent) A single Phaser Gamepad Parameters
destroy() Destroys this object and the associated event listeners. Source code:
processButtonFloat(buttonCode, value) Handles buttons with floating values (like analog buttons that acts almost like an axis but still
Page 5 of 6