Crate keyboard_types [−] [src]
Contains types to define keyboard related events.
The naming and conventions follow the UI Events specification but this crate should be useful for anyone implementing keyboard input in a cross-platform way.
Reexports
pub use modifiers::Modifiers; |
Modules
modifiers |
Modifier key data. |
Structs
CompositionEvent |
Event to expose input methods to program logic. |
KeyboardEvent |
Keyboard events are issued for all pressed and released keys. |
Enums
Code |
Code is the physical position of a key. |
CompositionState |
Describes the state of a composition session. |
Key |
Key represents the meaning of a keypress. |
KeyState |
Describes the state the key is in. |
Location |
The location attribute contains an indication of the logical location of the key on the device. |