Expand description
Smart key interface and implementations.
The core interface for the smart keymap library is key::Key, and its associated key::Context and key::PressedKeyState types. Together, these are used to define smart key behaviour.
Modules§
- Chorded keys. (Chording functionality).
- “Composite” keys; an aggregate type used for a common context and event. This module implements the
keymap::Key
for a ‘composite’ key, which can be any of the other key definitions, and is the default Key for thekeymap::KeyMap
implementation. - HID Keyboard keys.
- Layered keys. (Layering functionality).
- Tap-Hold keys.
Structs§
- Struct for the output from PressedKey.
- Bool flags for each of the modifier keys (left ctrl, etc.).
- Events emitted when a Key is pressed.
Enums§
- Events which are either input, or for a particular Key::Event.
- Errors for TryFrom implementations.
- Whether the key output is pending or resolved.
- Schedule for a ScheduledEvent.
Constants§
- The maximum number of key events that are emitted Key or PressedKeyState.
Traits§
- Used to provide state that may affect behaviour when pressing the key.
- The interface for
Key
behaviour. - PressedKeyState for a stateful pressed key value.
- Implements functionality for the pressed key.