You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* This event is dispatched by the Gamepad Plugin when a button has been pressed on any active Gamepad.
11
+
*
12
+
* Listen to this event from within a Scene using: `this.input.gamepad.on('down', listener)`.
13
+
*
14
+
* You can also listen for a DOWN event from a Gamepad instance. See [GAMEPAD_BUTTON_DOWN]{Phaser.Input.Gamepad.Events#GAMEPAD_BUTTON_DOWN} for details.
15
+
*
16
+
* @event Phaser.Input.Gamepad.Events#BUTTON_DOWN
17
+
*
18
+
* @param {Phaser.Input.Gamepad} pad - A reference to the Gamepad on which the button was pressed.
19
+
* @param {Phaser.Input.Gamepad.Button} button - A reference to the Button which was pressed.
20
+
* @param {number} value - The value of the button at the time it was pressed. Between 0 and 1. Some Gamepads have pressure-sensitive buttons.
0 commit comments