Gamepad#supported
  • References/Game Development/Phaser/Gamepads/Gamepad

[readonly] supported : boolean Whether or not gamepads are supported in current browser.

2025-01-10 15:47:30
Gamepad#pad1
  • References/Game Development/Phaser/Gamepads/Gamepad

[readonly] pad1 : Phaser.SinglePad

2025-01-10 15:47:30
Gamepad#onDownCallback
  • References/Game Development/Phaser/Gamepads/Gamepad

onDownCallback : Function This callback is invoked every time any gamepad button is pressed down.

2025-01-10 15:47:30
Gamepad#active
  • References/Game Development/Phaser/Gamepads/Gamepad

[readonly] active : boolean If the gamepad input is active or not - if not active it should

2025-01-10 15:47:30
Gamepad#onUpCallback
  • References/Game Development/Phaser/Gamepads/Gamepad

onUpCallback : Function This callback is invoked every time any gamepad button is released.

2025-01-10 15:47:30
Gamepad#pad3
  • References/Game Development/Phaser/Gamepads/Gamepad

[readonly] pad3 : Phaser.SinglePad

2025-01-10 15:47:30
Gamepad#addCallbacks()
  • References/Game Development/Phaser/Gamepads/Gamepad

addCallbacks(context, callbacks) Add callbacks to the main Gamepad handler to handle connect/disconnect/button down/button up/axis change/float

2025-01-10 15:47:30
Gamepad#callbackContext
  • References/Game Development/Phaser/Gamepads/Gamepad

callbackContext : Object The context under which the callbacks are run. Source

2025-01-10 15:47:30
Gamepad#stop()
  • References/Game Development/Phaser/Gamepads/Gamepad

stop() Stops the Gamepad event handling. Source code:

2025-01-10 15:47:30
Gamepad#isDown()
  • References/Game Development/Phaser/Gamepads/Gamepad

isDown(buttonCode) → {boolean} Returns true if the button is currently pressed down, on ANY gamepad

2025-01-10 15:47:30