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

onFloatCallback : Function This callback is invoked every time a button is changed to a value where value > 0 and value <

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

onAxisCallback : Function This callback is invoked every time any gamepad axis is changed.

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

disconnect() Gamepad disconnect function, should be called by Phaser.Gamepad. Source

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

[readonly] padsConnected : number How many live gamepads are currently connected.

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

setDeadZones() Sets the deadZone variable for all four gamepads Source code:

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

addCallbacks(context, callbacks) Add callbacks to this Gamepad to handle connect / disconnect / button down / button up / axis change

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

[readonly] index : number The gamepad index as per browsers data

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

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

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

[readonly] connected : boolean Whether or not this particular gamepad is connected or not

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

processAxisChange(axisState) Handles changes in axis. Parameters

2025-01-10 15:47:30