[readonly] pad1 : Phaser.SinglePad
justPressed(buttonCode, duration) → {boolean} Returns the "just released"
[readonly] active : boolean If the gamepad input is active or not - if not active it should
[readonly] supported : boolean Whether or not gamepads are supported in current browser.
onUpCallback : Function This callback is invoked every time any gamepad button is released.
[readonly] pad2 : Phaser.SinglePad
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:
start() Starts the Gamepad event handling.This MUST be called manually before Phaser will start polling the Gamepad API.
Page 2 of 3