onDisconnectCallback : Function This callback is invoked every time this gamepad is disconnected
connect(rawPad) Gamepad connect function, should be called by Phaser.Gamepad. Parameters
game : Phaser.Game Local reference to game.
isUp(buttonCode) → {boolean} Returns true if the button is not currently pressed. Parameters
processButtonUp(buttonCode, value) Handles button release. Parameters
pollStatus() Main update function called by Phaser.Gamepad. Source code:
processButtonDown(buttonCode, value) Handles button down press. Parameters
deadZone : number Dead zone for axis feedback - within this value you won't trigger updates.
destroy() Destroys this object and associated callback references. Source code:
onAxisCallback : Function This callback is invoked every time an axis is changed. Source
Page 2 of 3