Keyboard Class
namespace Noesis | MSDN
Represents the keyboard device.
Methods
Name | Description |
---|---|
ClearFocus | Clears focus |
Focus | Sets keyboard focus on the specified element. Returns the element that has focus after calling the function; may be an element other than that specified, even a null element |
GetFocused | Gets the element that has keyboard focus |
GetKeyStates | Gets the set of key states for the specified key |
GetModifiers | Gets the set of ModifierKeys that are currently pressed |
IsKeyDown | Determines whether the specified key is pressed |
IsKeyToggled | Determines whether the specified key is toggled |
IsKeyUp | Determines whether the specified key is released |
IsProcessingKeyEvent | Indicates if a Keyboard input event is being processed |
ResetState | Resets keyboard state |
Properties
Keyboard has no properties