Closed JeffDess closed 1 year ago
Great, thanks!
I'm trying to use it but can't figure out how - can you help?
#define TMUX_PREFIX LC(B)
ZMK_BEHAVIOR(tmux, macro_one_param, bindings = <¯o_param_1to2>, <&kp TMUX_PREFIX &kp MACRO_PLACEHOLDER>;)
// ...
// and then in layer
// ...
&tmux B
@smallstepman I would try :
ZMK_BEHAVIOR(tmux, macro_one_param, bindings =
<&kp TMUX_PREFIX>,
<¯o_param_1to1>,
<&kp MACRO_PLACEHOLDER>;
)
Hi! ZMK recently added two new behaviors for macros, both allowing to pass parameters from the keymap.
I've simply added the
macro-one-param
andmacro-two-param
definitions into the helper and it seems to work fine when configuring bindings according to documentation.Example:
Also added those two to the readme, in the allowed behavior types. Hope this helps!