Get the current state of the keyboard.
| C# |
public KeyboardState GetKeyboardState()
Keyboardstate struct
| Exception | Condition |
|---|---|
| [!:Tesla.Input.InputException] | Throws an exception if there is an error in retrieving key state |
Assembly: Tesla.Windows (Module: Tesla.Windows) Version: 0.5.0.0 (0.5.0.0)