Module init

Source
Expand description

Types and initial data used for constructing a keymap::Keymap. cbindgen:ignore

Re-exports§

pub use key_system::Ref;
pub use key_system::Context;
pub use key_system::Event;
pub use key_system::PendingKeyState;
pub use key_system::KeyState;

Constants§

AUTOMATION_INSTRUCTION_COUNT
Number of instructions used by the crate::key::automation implementation.
CHORDED_MAX_CHORDS
The maximum number of chords.
CHORDED_MAX_CHORD_SIZE
The maximum number of keys in a chord.
CHORDED_MAX_OVERLAPPING_CHORD_SIZE
The maximum number of overlapping chords for a chorded key.
CONFIG
Config used to construct initial context.
CONTEXT
Initial Context value.
DATA_LEN
Max number of data entries for each system.
KEY_COUNT
The number of keys in the keymap.
KEY_REFS
A tuples KeysN value with keys. Without a custom keymap, just the letter ‘A’.
LAYERED_LAYER_COUNT
Number of layers supported by the crate::key::layered implementation.
SYSTEM
Initial Context value.
TAP_DANCE_MAX_DEFINITIONS
The tap-dance definitions.

Type Aliases§

Keymap
Alias for the keymap::Keymap type.
System
Alias for the System type