The interval of the pseudo key repeat in frames.
The wait time of the pseudo key repeat in frames.
[read-only] The horizontal scroll amount.
[read-only] The vertical scroll amount.
[read-only] The x coordinate on the canvas area of the latest touch event.
[read-only] The y coordinate on the canvas area of the latest touch event.
Clears all the touch data.
Initializes the touch system.
Checks whether the right mouse button is just pressed.
True if the right mouse button is just pressed
Checks whether the left mouse button or touchscreen is kept depressed.
True if the left mouse button or touchscreen is long-pressed
Checks whether the mouse or a finger on the touchscreen is moved.
True if the mouse or a finger on the touchscreen is moved
Checks whether the mouse button or touchscreen is currently pressed down.
True if the mouse button or touchscreen is pressed
Checks whether the left mouse button or touchscreen is released.
True if the mouse button or touchscreen is released
Checks whether the left mouse button or touchscreen is just pressed or a pseudo key repeat occurred.
True if the mouse button or touchscreen is repeated
Checks whether the left mouse button or touchscreen is just pressed.
True if the mouse button or touchscreen is triggered
Updates the touch data.
Generated using TypeDoc
[read-only] The time of the last input in milliseconds.
date
Number