Type Alias ChordedConfig

Source
pub type ChordedConfig = Config<CHORDED_MAX_CHORDS, CHORDED_MAX_CHORD_SIZE>;
Expand description

Type aliases for convenience.

Aliased Type§

pub struct ChordedConfig {
    pub timeout: u16,
    pub chords: Slice<ChordIndices<16>, 4>,
    pub required_idle_time: Option<u16>,
}

Fields§

§timeout: u16

The timeout (in number of milliseconds) for a chorded key to resolve.

(Resolves as passthrough key if no chord is satisfied).

§chords: Slice<ChordIndices<16>, 4>

The keymap chords.

§required_idle_time: Option<u16>

Amount of time (in milliseconds) the keymap must have been idle in order for chorded key to activate.

This reduces disruption from unexpected chord resolutions when typing quickly.