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

[readonly] pad3 : Phaser.SinglePad

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

axis(axisCode) → {number} Returns value of requested axis. Parameters

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

pollStatus() Main update function called by Phaser.Gamepad. Source code:

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

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

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

deadZone : number Dead zone for axis feedback - within this value you won't trigger updates.

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