[read-only] The time of the last input in milliseconds.
[read-only] The four direction value as a number of the numpad, or 0 for neutral.
[read-only] The eight direction value as a number of the numpad, or 0 for neutral.
A hash table to convert from a gamepad button to a mapped key name.
A hash table to convert from a virtual key code to a mapped key name.
The interval of the key repeat in frames.
The wait time of the key repeat in frames.
Clears all the input data.
Initializes the input system.
Checks whether a key is kept depressed.
The mapped name of the key
True if the key is long-pressed
Checks whether a key is currently pressed down.
The mapped name of the key
True if the key is pressed
Checks whether a key is just pressed or a key repeat occurred.
The mapped name of the key
True if the key is repeated
Checks whether a key is just pressed.
The mapped name of the key
True if the key is triggered
Updates the input data.
Generated using TypeDoc
The static class that handles input data from the keyboard and gamepads.
Input