smart_keymap::key::composite

Type Alias Key

Source
pub type Key = ChordedKey<LayeredKey<TapHoldKey<BaseKey>>>;
Expand description

Type alias for composite key types.

Composite key is defined as a tree of key nodes:

Base    := LayerModifier | Keyboard

TapHold := TapHold<Base> | Base

Layered := Layered<TapHold> | TapHold

Chorded := Chorded<Layered> | AuxChorded<Layered> | Layered

Aliased Type§

enum Key {
    Chorded(Key<LayeredKey<TapHoldKey<BaseKey>>>),
    Auxiliary(AuxiliaryKey<LayeredKey<TapHoldKey<BaseKey>>>),
    Pass(LayeredKey<TapHoldKey<BaseKey>>),
}

Variants§

§

Chorded(Key<LayeredKey<TapHoldKey<BaseKey>>>)

A chorded key.

§

Auxiliary(AuxiliaryKey<LayeredKey<TapHoldKey<BaseKey>>>)

A chorded key.

§

Pass(LayeredKey<TapHoldKey<BaseKey>>)

Non-chorded,