Skip to main content

LayoutKeys

Type Alias LayoutKeys 

Source
pub type LayoutKeys<A> = BTreeMap<A, Vec<Chord>>;
Expand description

One layout’s default keys: every action with its chords in the order the keymap file lists them (at most SLOTS, none reserved), no chord on two actions of one group. The order matters: the first chord is the one help text names, and the chords fill the player’s key slots in this order.

Aliased Type§

pub struct LayoutKeys<A> { /* private fields */ }