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

onAxisCallback : Function This callback is invoked every time an axis is changed. 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
SinglePad#onDownCallback
  • References/Game Development/Phaser/Gamepads/SinglePad

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

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

game : Phaser.Game Local reference to game.

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

isDown(buttonCode) → {boolean} Returns true if the button is pressed down. Parameters

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

onConnectCallback : Function This callback is invoked every time this gamepad is connected

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

processButtonFloat(buttonCode, value) Handles buttons with floating values (like analog buttons that acts almost like an axis but still

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

destroy() Destroys this object and the associated event listeners. Source code:

2025-01-10 15:47:30