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

[readonly] pad3 : Phaser.SinglePad

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

destroy() Destroys this object and associated callback references. Source code:

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
SinglePad#callbackContext
  • References/Game Development/Phaser/Gamepads/SinglePad

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
Gamepad#start()
  • References/Game Development/Phaser/Gamepads/Gamepad

start() Starts the Gamepad event handling.This MUST be called manually before Phaser will start polling the Gamepad API.

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

processButtonDown(buttonCode, value) Handles button down press. Parameters

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

buttonValue(buttonCode) → {number} Returns the value of a gamepad button. Intended mainly for cases

2025-01-10 15:47:30