Type Alias LayeredModifierKey

Source
pub type LayeredModifierKey = ModifierKey;
Expand description

Type aliases for convenience.

Aliased Type§

pub enum LayeredModifierKey {
    Hold(u32),
    Toggle(u32),
    Sticky(u32),
    SetActiveLayers(u32),
    Default(u32),
}

Variants§

§

Hold(u32)

Activates the given layer when the held.

§

Toggle(u32)

Toggles whether the given layer is active when pressed.

§

Sticky(u32)

Sticky layer modifier, similar to sticky modifier key.

Acts the same as Hold variant if interrupted. If tapped, then the layer is activated for the next key tap.

§

SetActiveLayers(u32)

Sets the set of active layers to the given layers when the key is pressed.

§

Default(u32)

Sets the default layer.