phaser - v4.0.0-rc.4
    Preparing search index...

    Variable GAMEPAD_BUTTON_DOWNConst

    GAMEPAD_BUTTON_DOWN: string

    The Gamepad Button Down Event.

    This event is dispatched by a Gamepad instance when a button has been pressed on it.

    Listen to this event from a Gamepad instance. Once way to get this is from the pad1, pad2, etc properties on the Gamepad Plugin: this.input.gamepad.pad1.on('down', listener).

    Note that you will not receive any Gamepad button events until the browser considers the Gamepad as being 'connected'.

    You can also listen for a DOWN event from the Gamepad Plugin. See the [BUTTON_DOWN]Phaser.Input.Gamepad.Events#event:BUTTON_DOWN event for details.