The Gamepad Disconnected Event.
This event is dispatched by the Gamepad Plugin when a Gamepad has been disconnected.
Listen to this event from within a Scene using: this.input.gamepad.once('disconnected', listener)
.
name | type | description |
---|---|---|
pad | Phaser.Input.Gamepad |
A reference to the Gamepad which was disconnected. |
event | Event |
The native DOM Event that triggered the disconnection. |