Feat: user tap-unless-interrupted for homrowmod

This commit is contained in:
Bertrand Benjamin 2023-11-10 20:51:24 +01:00
parent d42cc9ce77
commit c8b0ac4dff

View File

@ -18,6 +18,26 @@
flavor = "tap-preferred";
bindings = <&kp>, <&kp>;
};
rh_pht: right_hand_positional_hold_tap {
compatible = "zmk,behavior-hold-tap";
label = "RIGHT_POSITIONAL_HOLD_TAP";
#binding-cells = <2>;
flavor = "tap-unless-interrupted";
tapping-term-ms = <100>;
quick-tap-ms = <200>;
bindings = <&kp>, <&kp>;
hold-trigger-key-positions = <0 1 2 3 4 5 12 13 14 15 16 17 24 25 26 27 28 29>;
};
lh_pht: left_hand_positional_hold_tap {
compatible = "zmk,behavior-hold-tap";
label = "LEFT_POSITIONAL_HOLD_TAP";
#binding-cells = <2>;
flavor = "tap-unless-interrupted";
tapping-term-ms = <100>;
quick-tap-ms = <200>;
bindings = <&kp>, <&kp>;
hold-trigger-key-positions = <6 7 8 9 10 11 18 19 20 21 22 23 30 31 32 33 34 35>;
};
};
combos {
@ -36,7 +56,7 @@
bindings = <
&kp LBKT &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp RBKT
&kp BSLH &hm LGUI A &hm RALT S &hm LCTRL D &hm LSHFT F &kp G &kp H &hm RSHFT J &hm RCTRL K &hm RALT L &hm RGUI SEMI &kp SQT
&kp BSLH &lh_pht LGUI A &lh_pht RALT S &lh_pht LCTRL D &lh_pht LSHFT F &kp G &kp H &rh_pht RSHFT J &rh_pht RCTRL K &rh_pht RALT L &rh_pht RGUI SEMI &kp SQT
&kp LT &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp FSLH &kp EQUAL
&lt RIGHT_ TAB &kp RET &kp ESC &kp BSPC &kp SPACE &lt LEFT_ TAB
>;