Expand description
Types and initial data used for constructing a keymap::Keymap.
Without SMART_KEYMAP_CUSTOM_KEYMAP, this is a keyboard-only dummy map
(letter A) plus generous size constants used by composite shells (also
re-exported by smart-keymap-full-system-std). With a custom keymap, build
codegen replaces this module.
cbindgen:ignore
Re-exports§
pub use key_system::Context;pub use key_system::Event;pub use key_system::KeyState;pub use key_system::PendingKeyState;pub use key_system::Ref;pub use key_system::System;
Modules§
- key_
system - Trivial composite shell: keyboard family only (matches codegen shape).
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.
- CONDITIONAL_
LAYER_ COUNT - Number of conditional layer rules for the crate::key::layered implementation.
- CONFIG
- Config used to construct initial context.
- CONTEXT
- Initial Context value.
- KEY_
COUNT - The number of keys in the keymap.
- KEY_
REFS - Without a custom keymap, just the letter ‘A’.
- LAYERED_
LAYER_ COUNT - Number of layers supported by the crate::key::layered implementation.
- SEQUENCE_
MAX_ OVERLAPPING - The maximum number of sequences sharing a primary key.
- SEQUENCE_
MAX_ SEQUENCES - The maximum number of sequences.
- SEQUENCE_
MAX_ SEQUENCE_ LEN - The maximum number of steps in a sequence.
- SYSTEM
- Initial System value.
- TAP_
DANCE_ MAX_ DEFINITIONS - The tap-dance definitions.
Type Aliases§
- Keymap
- Alias for the crate::keymap::Keymap type.