processAxisChange(axisState) Handles changes in axis. Parameters
[readonly] index : number The gamepad index as per browsers data
onFloatCallback : Function This callback is invoked every time a button is changed to a value where value > 0 and value <
setDeadZones() Sets the deadZone variable for all four gamepads Source code:
disconnect() Gamepad disconnect function, should be called by Phaser.Gamepad. Source
[readonly] padsConnected : number How many live gamepads are currently connected.
onAxisCallback : Function This callback is invoked every time any gamepad axis is changed.
onConnectCallback : Function This callback is invoked every time any gamepad is connected
[readonly] connected : boolean Whether or not this particular gamepad is connected or not
reset() Reset all buttons/axes of all gamepads Source code:
Page 1 of 6