Function keymap_index_of

Source
pub fn keymap_index_of<const COLS: usize, const ROWS: usize>(
    indices: &[[Option<u16>; COLS]; ROWS],
    ev: Event,
) -> Option<Event>
Expand description

Constructs a smart_keymap::input::Event from a [keyberon::layout::Event], using a map from row, column to (maybe) keymap index.