Module combos

Source
Expand description

A way to define combos for a keyboard layout.

Structsยง

ComboKey
Represents a combo by way of specifying a Key, and if there are multiple on the keyboard, the nth index. If there are 2 e keys for example, you can specify e-2.
Combos
Fully parsed Dof representation of combos on a layout. In here is a BTreeMap mapping layer names by String to a vector of (Vec<Pos>, Key) which are all combos on a keyboard, mapped by their row/column index.
ParseCombos
Structure to store combos for a layout. Contains a map with layer names, where each layer contains a map from a Vec of ComboKeys to a single Key.