Closed salamantos closed 1 month ago
You cannot use other behavior references as parameters to a behavior: &hold_caps_word &caps_word F
will result in a pseudorandom behavior because the &caps_word
will be interpreted as a keycode. This is because you used bindings = <&kp>, <&kp>;
in the hold_caps_word
definition.
Instead, you need to use bindings = <&caps_word>, <&kp>;
in the behavior definition, then use a dummy parameter value like 0
when using it: &hold_caps_word 0 F
. This is documented here: https://zmk.dev/docs/keymaps/behaviors/hold-tap#using-different-behavior-types-with-hold-taps
Thanks! It helped, now everything is working perfectly
I'm trying to achieve the following behavior: on single tap it should produce
F
, on hold it should produceSHIFT
, on double tap and hold (tap-hold) I want it to activatecaps_word
However, with my current configuration, this is not working as expected. Instead, double tap and hold produce
O
for some reason. The single tap and single hold are working as intended.