Multiple modifier keys with Mod-Tap #379
-
Heyo! I'm trying to customize my base layer keymap as described here, and I can't seem to get it to build properly. My goal is to have holding G and H press all the modifier keys (super, ctrl, alt, and shift). Here is what my
For reference, the repo is here: https://github.com/JosNun/miryoku_zmk The failed build job (with stack trace) is here: https://github.com/JosNun/miryoku_zmk/actions/runs/12857264695 Interestingly, the firmware for the right half of the keyboard builds fine. I'm not sure if the keymap lands on that half, though, since that's the remote half, and the left one is the master?
Any pointers for a direction to look next would be greatly appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Failing only on the left is normal as the peripheral doesn't have the keymap. According to the ZMK docs for mod-tap and modifiers, |
Beta Was this translation helpful? Give feedback.
Failing only on the left is normal as the peripheral doesn't have the keymap.
According to the ZMK docs for mod-tap and modifiers,
&mt LG(LA(LC(LSHFT))) G
should be correct. You might like to try it by editing a default keymap in ZMK as a test, or rewriting it without theU_MT
macro (i.e. as written above). If that doesn't work, ask on the ZMK discord. According to an old comment there, even if the syntax is correct and it builds it still won't work in practice due to implementation limitations.