SinglePad#onDisconnectCallback
  • References/Game Development/Phaser/Gamepads/SinglePad

onDisconnectCallback : Function This callback is invoked every time this gamepad is disconnected

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

game : Phaser.Game Local reference to game.

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

connect(rawPad) Gamepad connect function, should be called by Phaser.Gamepad. Parameters

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

isUp(buttonCode) → {boolean} Returns true if the button is not currently pressed. Parameters

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

processButtonUp(buttonCode, value) Handles button release. Parameters

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
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
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
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