smart_keymap::key::composite

Type Alias BasePressedKey

Source
pub type BasePressedKey = PressedKey<BaseKey, BasePressedKeyState>;
Expand description

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

Aliased Type§

struct BasePressedKey {
    pub keymap_index: u16,
    pub key: BaseKey,
    pub pressed_key_state: BasePressedKeyState,
}

Fields§

§keymap_index: u16

The index of the pressed key in some keymap.

§key: BaseKey

The pressed key.

§pressed_key_state: BasePressedKeyState

The pressed key state.