SinglePad#onConnectCallback

onConnectCallback : Function This callback is invoked every time this gamepad is connected Source code: input/SinglePad.js (Line 43)

SinglePad#onDisconnectCallback

onDisconnectCallback : Function This callback is invoked every time this gamepad is disconnected Source code: input/SinglePad.js (Line 48)

SinglePad#onDownCallback

onDownCallback : Function This callback is invoked every time a button is pressed down. Source code: input/SinglePad.js (Line 53)

SinglePad#onFloatCallback

onFloatCallback : Function This callback is invoked every time a button is changed to a value where value > 0 and value < 1. Source code: input/SinglePad.js (Line 68)

SinglePad#onUpCallback

onUpCallback : Function This callback is invoked every time a gamepad button is released. Source code: input/SinglePad.js (Line 58)

SinglePad#pollStatus()

pollStatus() Main update function called by Phaser.Gamepad. Source code: input/SinglePad.js (Line 165)

SinglePad#processAxisChange()

processAxisChange(axisState) Handles changes in axis. Parameters Name Type Description axisState object State of the relevant axis Source code: input/SinglePad.js (Line 327)

SinglePad#processButtonDown()

processButtonDown(buttonCode, value) Handles button down press. Parameters Name Type Description buttonCode number Which buttonCode of this button value object Button value Source code: input/SinglePad.js (Line 354)

SinglePad#processButtonFloat()

processButtonFloat(buttonCode, value) Handles buttons with floating values (like analog buttons that acts almost like an axis but still registers like a button) Parameters Name Type Description buttonCode number Which buttonCode of this button value object Button value (will range somewhere between 0 and 1, but not specifically 0 or 1. Source code: input/SinglePad.js (Line 406)

SinglePad#processButtonUp()

processButtonUp(buttonCode, value) Handles button release. Parameters Name Type Description buttonCode number Which buttonCode of this button value object Button value Source code: input/SinglePad.js (Line 380)