Holds static methods for interacting with keyboard
| C# |
public static class Keyboard
| All Members | Methods | ||||
| Icon | Member | Description |
|---|---|---|
| CheckForKeypress(KeyPressType) |
Non-blockingly check for user key press
| |
| DisableRepeat()()() |
Disable all repeating of keystrokes
| |
| IsKeyPressed(KeyCode) |
Determine if a given key is currently being pressed
| |
| SetRepeat(Int32, Int32) |
Set repeat rate of keyboard
| |
| WaitForKeyPress(Boolean) |
Block until user presses key
|
| Object | |
| Keyboard | |