Skip to main content

Module mod_conditioned

Module mod_conditioned 

Source
Expand description

Mod-conditioned keys (dual bind gated on held modifiers + report suppress). Mod-conditioned keys: dual binding gated on held modifiers, with optional report-level suppression of those modifiers (ZMK mod-morph / QMK key-override style).

At press time, if any of Key::trigger_mods is held (from KeymapContext::pressed_modifiers), the key resolves to Key::morphed; otherwise to Key::base. On the morph path, trigger mods except Key::keep_mods are suppressed from the HID report while the key is held.

Structs§

Context
Context for mod-conditioned keys.
Key
A key that picks a nested binding based on held modifiers.
KeyState
Pressed key state (none — always NewPressedKey).
PendingKeyState
Pending key state (none — resolves immediately).
Ref
Reference for a mod-conditioned key.
System
The key::System implementation for mod-conditioned keys.

Enums§

Event
Events for mod-conditioned keys.