mirror of
https://github.com/litruv/zmk-config.git
synced 2026-07-24 02:36:05 +10:00
print string macro
This commit is contained in:
committed by
GitHub
parent
c8f27dc318
commit
8faa832d6d
@@ -36,6 +36,13 @@
|
|||||||
wait-ms = <5>;
|
wait-ms = <5>;
|
||||||
tap-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 {
|
keymap {
|
||||||
@@ -78,7 +85,7 @@
|
|||||||
bindings = <
|
bindings = <
|
||||||
&kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &trans &trans &trans &trans &trans &trans
|
&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
|
&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
|
&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
|
&trans &to 4 &trans &trans &kp F9 &trans &trans &trans &trans &trans
|
||||||
>;
|
>;
|
||||||
|
|||||||
Reference in New Issue
Block a user