justPressed(duration) → {boolean} The Pointer is considered justPressed
timeUp : number A timestamp representing when the Pointer left the touchscreen. Source
[static] NO_BUTTON : number No buttons at all. Source
addKeyCapture(keycode) By default when a key is pressed Phaser will not stop the event from propagating up to the browser.There
repeats : number If a key is held down this holds down the number of times the key has 'repeated'.
addKeys(keys) → {object} A practical way to create an object containing user selected hotkeys.
timeUp : number The timestamp when the button was last released. Source code:
justReleased(duration) → {boolean} Returns the "just released" state
new DeviceButton(parent, buttonCode) DeviceButtons belong to both Phaser.Pointer and Phaser.SinglePad (Gamepad)
altKey : boolean True if the alt key was held down when this button was last pressed or released.Not supported on Gamepads
Page 22 of 29