[readonly] connected : boolean Whether or not this particular gamepad is connected or not
[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 <
addCallbacks(context, callbacks) Add callbacks to this Gamepad to handle connect / disconnect / button down / button up / axis change
processAxisChange(axisState) Handles changes in axis. Parameters
disconnect() Gamepad disconnect function, should be called by Phaser.Gamepad. Source
reset() Reset all buttons/axes of this gamepad. Source code:
onUpCallback : Function This callback is invoked every time a gamepad button is released.
getButton(buttonCode) → {Phaser.DeviceButton}
justPressed(buttonCode, duration) → {boolean} Returns the "just pressed"
Page 1 of 3