new DeviceButton(parent, buttonCode) DeviceButtons belong to both Phaser.Pointer and Phaser.SinglePad (Gamepad)
buttonCode : number The buttoncode of this button if a Gamepad, or the DOM button event value if a Pointer.
[static] MAX_POINTERS : integer The maximum number of pointers that can be added. This excludes
repeats : number If a key is held down this holds down the number of times the key has 'repeated'.
pointerMode : Phaser.PointerMode The operational
onTouchMove(event) The handler for the touchmove events. Parameters
isUp : boolean The "up" state of the button. Default Value
stop() Stop the event listeners. Source code:
circle : Phaser.Circle A Phaser.Circle that is centered
active : boolean An active pointer is one that is currently pressed down on the display. A Mouse is always active.
Page 23 of 29