Class Keyboard
Represents the keyboard device.
public static class Keyboard
  - Inheritance
 - 
      
      Keyboard
 
Properties
- Handler
 Gets or sets handler.
- IsAltPressed
 Gets whether ALT key is currently pressed.
- IsAltShiftPressed
 Gets whether ALT and SHIFT keys are currently pressed.
- IsKeyboardPresent
 Gets whether hardware keyboard is present.
- IsShiftPressed
 Gets whether SHIFT key is currently pressed.
- Modifiers
 Gets the set of modifier keys currently pressed (Control, Alt, Shift, etc.).
- RawModifiers
 Gets the set of raw modifier keys currently pressed (Control, Alt, Shift, etc.).
Methods
- GetKeyStates(Key)
 Returns the state of the specified key.
- HideKeyboard(AbstractControl?)
 Hides on-screen keyboard for the specified control.
- IsKeyDown(Key)
 Returns whether or not the specified key is down.
- IsKeyDown(KeyStates)
 Returns whether or not the specified key state is down.
- IsKeyToggled(Key)
 Returns whether or not the specified key is toggled.
- IsKeyToggled(KeyStates)
 Returns whether or not the specified key state is toggled.
- IsKeyUp(Key)
 Returns whether or not the specified key is up.
- IsRepeatToRepeatCount(bool)
 Converts
isRepeatboolean to repeat count.
- IsSoftKeyboardShowing(AbstractControl?)
 Gets whether on-screen keyboard is shown for the specified control.
- IsValidKey(Key)
 Gets whether specified key is valid for the current platform.
- ShowKeyboard(AbstractControl?)
 Shows on-screen keyboard for the specified control.
- ToggleKeyboardVisibility(AbstractControl?)
 Toggles on-screen keyboard visibility for the specified control.