Simpler Sticky key Syntax, trans shift with sk try

This commit is contained in:
kB01 2023-11-03 14:23:33 +01:00
parent 9db34d39c0
commit 205f752346

View file

@ -103,19 +103,14 @@
compatible = "zmk,behavior-macro"; compatible = "zmk,behavior-macro";
#binding-cells = <0>; #binding-cells = <0>;
bindings = bindings =
<&macro_press>, <&sk LCTRL(LG(RIGHT))>;
<&kp LCTRL &kp LGUI>,
<&macro_tap>,
<&kp RIGHT>,
<&macro_release>,
<&kp LGUI &kp LCTRL>;
label = "NAV_SPACE_NEXT"; label = "NAV_SPACE_NEXT";
}; };
nav_space_prev: nav_space_prev { nav_space_prev: nav_space_prev {
compatible = "zmk,behavior-macro"; compatible = "zmk,behavior-macro";
#binding-cells = <0>; #binding-cells = <0>;
bindings = <&sk LCTRL &sk LGUI &kp LEFT>; bindings = <&sk LCTRL(LG(LEFT))>;
label = "NAV_SPACE_PREV"; label = "NAV_SPACE_PREV";
}; };
nav_win_next: nav_win_next { nav_win_next: nav_win_next {
@ -127,7 +122,7 @@
nav_win_prev: nav_win_prev { nav_win_prev: nav_win_prev {
compatible = "zmk,behavior-macro"; compatible = "zmk,behavior-macro";
#binding-cells = <0>; #binding-cells = <0>;
bindings = <&sk LALT &sk LSHIFT &kp TAB>; bindings = <&sk LALT(LSHIFT(TAB))>;
label = "NAV_WIN_PREV"; label = "NAV_WIN_PREV";
}; };
nav_desktop: nav_desktop { nav_desktop: nav_desktop {
@ -140,12 +135,8 @@
compatible = "zmk,behavior-macro"; compatible = "zmk,behavior-macro";
#binding-cells = <0>; #binding-cells = <0>;
bindings = bindings =
<&macro_press>, <&sk LSHIFT>,
<&kp LSHIFT>, <&trans>;
<&macro_tap>,
<&trans>,
<&macro_release>,
<&kp LSHIFT>;
label = "SHIFT_TRANS"; label = "SHIFT_TRANS";
}; };