use macro for word test

This commit is contained in:
Crispy 2022-12-27 16:35:03 +01:00
parent ec738b5652
commit c1cde0223e

View file

@ -47,11 +47,23 @@ ZMK_UNICODE_PAIR(win_multi_o, A, N6, N6, E, F, F, F, D) // multiocular o
}; };
}; };
macros {
word_test: word_test {
label = "Word_test";
compatible = "zmk,behavior-macro";
#binding-cells = <0>;
wait-ms = <5>;
tap-ms = <5>;
bindings = <&macro_tap &kp T &kp O &kp K &kp I>
;
};
};
combos { combos {
compatible = "zmk,combos"; compatible = "zmk,combos";
combo_toki_a { combo_toki_a {
key-positions = <5 6>; key-positions = <5 6>;
bindings = <&macro_tap &kp SPACE &kp T &kp O &kp K &kp I>; bindings = <&word_test>;
// slow-release; // slow-release;
layers = <TOKI>; layers = <TOKI>;
}; };