Bypass modifier (shift) on long press #117
-
I'm trying to find a way how to bypass a modifier key on long press. For example I want to hold "k" so it should be recognized as "kkkkkkkkkk...." How can I do that? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
In general the Base layer keys don't auto repeat, as many are tap hold. The thumbs have basic versions on the layers that can be used for auto repeat, such as backspace and delete on Nav (although for those, combining with control is generally preferable). For the alphas, the cursor keys on Nav can be used instead of holding for navigation in vi, and the Tap layer can be used for games etc. However, ZMK supports tap hold auto repeat with https://zmk.dev/docs/behaviors/hold-tap#quick-tap-ms. Support for easily customising mods will be added in future, see #33. For now you'd need to manually add it here https://github.com/manna-harbour/miryoku_zmk/blob/095fd13c5c003008d33d001a81702ae1f9d7ba74/miryoku/miryoku.dtsi#L28-L35. |
Beta Was this translation helpful? Give feedback.
In general the Base layer keys don't auto repeat, as many are tap hold. The thumbs have basic versions on the layers that can be used for auto repeat, such as backspace and delete on Nav (although for those, combining with control is generally preferable). For the alphas, the cursor keys on Nav can be used instead of holding for navigation in vi, and the Tap layer can be used for games etc.
However, ZMK supports tap hold auto repeat with https://zmk.dev/docs/behaviors/hold-tap#quick-tap-ms. Support for easily customising mods will be added in future, see #33. For now you'd need to manually add it here https://github.com/manna-harbour/miryoku_zmk/blob/095fd13c5c003008d33d001a81702ae1f9d7ba…