DeviceButton#value

value : number Button value. Mainly useful for checking analog buttons (like shoulder triggers) on Gamepads. Source code: input/DeviceButton.js (Line 109)

DeviceButton#timeUp

timeUp : number The timestamp when the button was last released. Source code: input/DeviceButton.js (Line 71)

DeviceButton#timeDown

timeDown : number The timestamp when the button was last pressed down. Source code: input/DeviceButton.js (Line 65)

DeviceButton#shiftKey

shiftKey : boolean True if the shift key was held down when this button was last pressed or released.Not supported on Gamepads. Source code: input/DeviceButton.js (Line 95)

DeviceButton#reset()

reset() Resets this DeviceButton, changing it to an isUp state and resetting the duration and repeats counters. Source code: input/DeviceButton.js (Line 260)

DeviceButton#repeats

repeats : number Gamepad only.If a button is held down this holds down the number of times the button has 'repeated'. Source code: input/DeviceButton.js (Line 79)

DeviceButton#parent

parent : Phaser.Pointer | Phaser.SinglePad A reference to the Pointer or Gamepad that owns this button. Type Phaser.Pointer | Phaser.SinglePad Source code: input/DeviceButton.js (Line 36)

DeviceButton#onUp

onUp : Phaser.Signal This Signal is dispatched every time this DeviceButton is released from a down state.It is only dispatched once (until the button is pressed again).When dispatched it sends 2 arguments: A reference to this DeviceButton and the value of the button. Source code: input/DeviceButton.js (Line 130)

DeviceButton#onFloat

onFloat : Phaser.Signal Gamepad only.This Signal is dispatched every time this DeviceButton changes floating value (between, but not exactly, 0 and 1).When dispatched it sends 2 arguments: A reference to this DeviceButton and the value of the button. Source code: input/DeviceButton.js (Line 138)

DeviceButton#onDown

onDown : Phaser.Signal This Signal is dispatched every time this DeviceButton is pressed down.It is only dispatched once (until the button is released again).When dispatched it sends 2 arguments: A reference to this DeviceButton and the value of the button. Source code: input/DeviceButton.js (Line 122)