Expand description
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.
Modules§
- webdriver
webdriver
- Keyboard related WebDriver functionality.
Structs§
- Composition
Event - Event to expose input methods to program logic.
- Keyboard
Event - Keyboard events are issued for all pressed and released keys.
- Modifiers
- Pressed modifier keys.
- Shortcut
Matcher - Match keyboard shortcuts and execute actions.
- Unrecognized
Code Error - Parse from string error, returned when string does not match to any Code variant.
- Unrecognized
KeyError - Parse from string error, returned when string does not match to any Key variant.
- Unrecognized
Named KeyError - Parse from string error, returned when string does not match to any Key variant.
Enums§
- Code
- Code is the physical position of a key.
- Composition
State - Describes the state of a composition session.
- Key
- The value received from the keypress.
- KeyState
- Describes the state a key is in.
- Location
- The location attribute contains an indication of the physical location of the key on the device.
- Named
Key - Key represents the meaning of a keypress.