callbackContext : Object The context under which the callbacks are run. Source
axis(axisCode) → {number} Returns value of requested axis. Parameters
onAxisCallback : Function This callback is invoked every time an axis is changed. Source
start() Starts the Gamepad event handling.This MUST be called manually before Phaser will start polling the Gamepad API.
destroy() Destroys this object and the associated event listeners. Source code:
onConnectCallback : Function This callback is invoked every time this gamepad is connected
onDownCallback : Function This callback is invoked every time a button is pressed down.
game : Phaser.Game Local reference to game.
new SinglePad(game, padParent) A single Phaser Gamepad Parameters
onDisconnectCallback : Function This callback is invoked every time any gamepad is disconnected
Page 5 of 6