RKTK API Docs RKTK Home Repo

Type Alias Layer

Source
pub type Layer = Layer<{ _ }, { _ }, { _ }>;

Aliased Type§

struct Layer {
    pub keymap: [[KeyAction; 14]; 5],
    pub encoder_keys: [(Option<KeyCode>, Option<KeyCode>); 0],
    pub arrow_mouse: bool,
}

Fields§

§keymap: [[KeyAction; 14]; 5]§encoder_keys: [(Option<KeyCode>, Option<KeyCode>); 0]

Keycode assigned to each encoder.

Left of tuple is for counter clockwise, right of tuple is for clockwise. None has special meaning that it is not assigned and inherits keycode from previous layer.

§arrow_mouse: bool