Get the current state of the keyboard.
Declaration Syntax
C# |
public KeyboardState GetKeyboardState()
Return Value
Keyboardstate struct
Exceptions
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)