start() Starts the Gamepad event handling.This MUST be called manually before Phaser will start polling the Gamepad API.
game : Phaser.Game Local reference to game.
new Gamepad(game) The Gamepad class handles gamepad input and dispatches gamepad events. Remember to call gamepad.start()
destroy() Destroys this object and the associated event listeners. Source code:
onDisconnectCallback : Function This callback is invoked every time any gamepad is disconnected
Page 3 of 3