pub type PressedKey<K> = PressedKey<Key<K>, PressedKeyState<K>>;
Expand description
Convenience type for a pressed tap-hold key.
Aliased Type§
struct PressedKey<K> {
pub keymap_index: u16,
pub key: Key<K>,
pub pressed_key_state: PressedKeyState<K>,
}
Fields§
§keymap_index: u16
The index of the pressed key in some keymap.
key: Key<K>
The pressed key.
pressed_key_state: PressedKeyState<K>
The pressed key state.