The Mod-Morph behavior sends a different keypress, depending on whether a specified modifier is being held during the keypress.
- If you tap the key by itself, the first keycode is sent.
- If you tap the key while holding the specified modifier, the second keycode is sent.
The Mod-Morph behavior acts as one of two keycodes, depending on if the required modifier is being held during the keypress.
When the modifier is being held it is sent along with the morphed keycode. This can cause problems when the morphed keycode and modifier have an existing relationship (such as
ctrl-v on many operating systems).
An example of how to implement the mod-morph "Grave Escape":
Note that this specific mod-morph exists in ZMK by default using code
- Parameter: None
This is how you determine what modifiers will activate the morphed version of the keycode.