Resets a specific key to its "not depressed" state.
The key to reset.
Resets all keys to be in their "not depressed" states.
Returns whether ctrl is pressed.
Whether the key's state should be reset to "not pressed" when this method returns. This is useful to effectively enable the keyboard's buffering.
Whether the key was pressed.
Returns whether down is pressed.
Whether the key's state should be reset to "not pressed" when this method returns. This is useful to effectively enable the keyboard's buffering.
Whether the key was pressed.
Returns whether enter is pressed.
Whether the key's state should be reset to "not pressed" when this method returns. This is useful to effectively enable the keyboard's buffering.
Whether the key was pressed.
Installs this keyboard manager. Should be called during game initialization.
Returns whether a specific key is pressed.
A key code.
Whether the key's state should be reset to "not pressed" when this method returns. This is useful to effectively enable the keyboard's buffering.
Whether the key was pressed.
Returns whether left is pressed.
Whether the key's state should be reset to "not pressed" when this method returns. This is useful to effectively enable the keyboard's buffering.
Whether the key was pressed.
Returns whether right is pressed.
Whether the key's state should be reset to "not pressed" when this method returns. This is useful to effectively enable the keyboard's buffering.
Whether the key was pressed.
Returns whether shift is pressed.
Whether the key's state should be reset to "not pressed" when this method returns. This is useful to effectively enable the keyboard's buffering.
Whether the key was pressed.
Returns whether up is pressed.
Whether the key's state should be reset to "not pressed" when this method returns. This is useful to effectively enable the keyboard's buffering.
Whether the key was pressed.
Generated using TypeDoc
Handles input for games.
For keyboards, allows polling of individual key presses, both with and without the keyboard repeat delay.
Touch and mouse input are currently not supported.