smart_keymap::key::composite

Type Alias PressedKey

Source
pub type PressedKey = ChordedPressedKey<LayeredKey<TapHoldKey<BaseKey>>>;
Expand description

Convenience type alias for the ‘highest’ composite key.

Aliased Type§

struct PressedKey {
    pub keymap_index: u16,
    pub key: ChordedKey<LayeredKey<TapHoldKey<BaseKey>>>,
    pub pressed_key_state: ChordedPressedKeyState<LayeredKey<TapHoldKey<BaseKey>>>,
}

Fields§

§keymap_index: u16

The index of the pressed key in some keymap.

§key: ChordedKey<LayeredKey<TapHoldKey<BaseKey>>>

The pressed key.

§pressed_key_state: ChordedPressedKeyState<LayeredKey<TapHoldKey<BaseKey>>>

The pressed key state.