processButtonUp(buttonCode, value) Handles button release. Parameters
processButtonDown(buttonCode, value) Handles button down press. Parameters
pollStatus() Main update function called by Phaser.Gamepad. Source code:
destroy() Destroys this object and associated callback references. Source code:
start() Starts the Gamepad event handling.This MUST be called manually before Phaser will start polling the Gamepad API.
callbackContext : Object The context under which the callbacks are run. Source
stop() Stops the Gamepad event handling. Source code:
deadZone : number Dead zone for axis feedback - within this value you won't trigger updates.
isDown(buttonCode) → {boolean} Returns true if the button is currently pressed down, on ANY gamepad
addCallbacks(context, callbacks) Add callbacks to the main Gamepad handler to handle connect/disconnect/button down/button up/axis change/float
Page 4 of 6