[readonly] index : number The gamepad index as per browsers data
processAxisChange(axisState) Handles changes in axis. Parameters
addCallbacks(context, callbacks) Add callbacks to this Gamepad to handle connect / disconnect / button down / button up / axis change
disconnect() Gamepad disconnect function, should be called by Phaser.Gamepad. Source
onFloatCallback : Function This callback is invoked every time a button is changed to a value where value > 0 and value <
[readonly] connected : boolean Whether or not this particular gamepad is connected or not
justPressed(buttonCode, duration) → {boolean} Returns the "just pressed"
onDisconnectCallback : Function This callback is invoked every time this gamepad is disconnected
getButton(buttonCode) → {Phaser.DeviceButton}
onUpCallback : Function This callback is invoked every time a gamepad button is released.
Page 1 of 3