smart_keymap::key::composite

Type Alias ChordedPressedKey

Source
pub type ChordedPressedKey<K> = PressedKey<ChordedKey<K>, ChordedPressedKeyState<K>>;
Expand description

Convenience type alias for a key::PressedKey with a layered key.

Aliased Type§

struct ChordedPressedKey<K> {
    pub keymap_index: u16,
    pub key: ChordedKey<K>,
    pub pressed_key_state: ChordedPressedKeyState<K>,
}

Fields§

§keymap_index: u16

The index of the pressed key in some keymap.

§key: ChordedKey<K>

The pressed key.

§pressed_key_state: ChordedPressedKeyState<K>

The pressed key state.