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§

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’.
LAYER_COUNT
Number of layers supported by the crate::key::layered implementation.
MAX_CHORDS
The maximum number of chords.
MAX_CHORD_SIZE
The maximum number of keys in a chord.
MAX_OVERLAPPING_CHORD_SIZE
The maximum number of overlapping chords for a chorded key.
MAX_TAP_DANCE_DEFINITIONS
The tap-dance definitions.
SYSTEM
Initial Context value.

Type Aliases§

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