print string macro

This commit is contained in:
keymap-editor[bot]
2024-06-20 22:26:50 +00:00
committed by GitHub
parent c8f27dc318
commit 8faa832d6d

View File

@@ -36,6 +36,13 @@
wait-ms = <5>;
tap-ms = <5>;
};
PrintString: new_macro {
compatible = "zmk,behavior-macro";
#binding-cells = <0>;
bindings = <&kp TAB &kp LS(P) &kp R &kp I &kp N &kp T &kp SPACE &kp LS(S) &kp T &kp R &kp I &kp N &kp G &kp ENTER>;
label = "NEW_MACRO";
};
};
keymap {
@@ -78,7 +85,7 @@
bindings = <
&kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &trans &trans &trans &trans &trans &trans
&kp DEL &trans &kp UP_ARROW &kp LC(E) &CustomEvent &mt LA(S) LA(P) &trans &trans &trans &trans &trans &trans
&trans &kp LEFT &kp DOWN_ARROW &kp RIGHT &mt LC(LS(F)) LC(F) &kp LA(S) &trans &trans &trans &trans &trans &trans
&trans &kp LEFT &kp DOWN_ARROW &kp RIGHT &mt LC(LS(F)) LC(F) &PrintString &trans &trans &trans &trans &trans &trans
&kp LSHFT &kp LC(SLASH) &trans &trans &trans &kp LC(B) &soft_off &trans &trans &trans &trans &trans &trans &trans
&trans &to 4 &trans &trans &kp F9 &trans &trans &trans &trans &trans
>;