holdRate : number The number of milliseconds that the Pointer has to be pressed down for it to fire a onHold event.
[static] MIDDLE_BUTTON : number Source code:
timeUp : number A timestamp representing when the Pointer left the touchscreen. Source
timeDown : number A timestamp representing when the Pointer first touched the touchscreen.
[static] MAX_POINTERS : integer The maximum number of pointers that can be added. This excludes
event : Object The most recent DOM event from keydown or keyup. This is updated every time a new key is pressed or released.
altKey : boolean True if the alt key was held down when this button was last pressed or released.Not supported on Gamepads
reset() Resets this DeviceButton, changing it to an isUp state and resetting the duration and repeats counters.
swapTarget(newTarget, silent) This will change the Pointer.targetObject object to be the
reset(hard) Resets all Keys. Parameters
Page 19 of 29