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#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#pollStatus()

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

SinglePad#onUpCallback

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

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#onDownCallback

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

SinglePad#onDisconnectCallback

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

SinglePad#onConnectCallback

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

SinglePad#onAxisCallback

onAxisCallback : Function This callback is invoked every time an axis is changed. Source code: input/SinglePad.js (Line 63)

SinglePad#justReleased()

justReleased(buttonCode, duration) → {boolean} Returns the "just released" state of a button from this gamepad. Just released is considered as being true if the button was released within the duration given (default 250ms). Parameters Name Type Argument Default Description buttonCode number The buttonCode of the button to check for. duration number <optional> 250 The duration below which the button is considered as being just released. Returns boolean - True if the but