[readonly] pad3 : Phaser.SinglePad
destroy() Destroys this object and associated callback references. Source code:
addCallbacks(context, callbacks) Add callbacks to the main Gamepad handler to handle connect/disconnect/button down/button up/axis change/float
callbackContext : Object The context under which the callbacks are run. Source
stop() Stops the Gamepad event handling. Source code:
isDown(buttonCode) → {boolean} Returns true if the button is currently pressed down, on ANY gamepad
start() Starts the Gamepad event handling.This MUST be called manually before Phaser will start polling the Gamepad API.
processButtonDown(buttonCode, value) Handles button down press. Parameters
buttonValue(buttonCode) → {number} Returns the value of a gamepad button. Intended mainly for cases
Page 4 of 6