Skip to content

Commit

Permalink
Debug: add parameters to hold taps for smart mods.
Browse files Browse the repository at this point in the history
  • Loading branch information
1000eyed committed Feb 23, 2024
1 parent f517f2f commit ab9a89c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions config/boards/shields/pur/pur.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ ZMK_BEHAVIOR(num_dance, tap_dance, bindings = <&sl NUM>, <&tog NUM>; tapping-ter
/* smart modifiers */
ZMK_BEHAVIOR(dance_ctrl, tap_dance, bindings = <&kp LCTRL>, <&kp LC(LSFT)>; tapping-term-ms = <200>;)
ZMK_BEHAVIOR(dance_alt, tap_dance, bindings = <&kp LGUI>, <&kp LGUI>; tapping-term-ms = <200>;)
ZMK_BEHAVIOR(smart_ctrl, hold_tap, flavor = "balanced"; tapping-term-ms = <200>; quick-tap-ms = <125>; bindings = <&kp LCTRL &dance_ctrl>;)
ZMK_BEHAVIOR(smart_alt, hold_tap, flavor = "balanced"; tapping-term-ms = <200>; quick-tap-ms = <125>; bindings = <&kp LALT &dance_alt>;)
ZMK_BEHAVIOR(smart_ctrl, hold_tap, flavor = "balanced"; tapping-term-ms = <200>; quick-tap-ms = <125>; bindings = <&kp>, <&dance_ctrl>;)
ZMK_BEHAVIOR(smart_alt, hold_tap, flavor = "balanced"; tapping-term-ms = <200>; quick-tap-ms = <125>; bindings = <&kp>, <&dance_alt>;)

/* existing behavior settings */
&sl { ignore-modifiers; release-after-ms = <10000>; };
Expand All @@ -52,7 +52,7 @@ ZMK_BEHAVIOR(smart_alt, hold_tap, flavor = "balanced"; tapping-term-ms = <200>;
&kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P
&kp A &lt NAV S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI
&kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp SLASH
&smart_ctrl &smart_alt &kp LALT &kp SPACE &smart_shft &mo BT &kp RGUI &kp K_CANCEL
&smart_ctrl LCTRL 0 &smart_alt LALT 0 &kp LALT &kp SPACE &smart_shft &mo BT &kp RGUI &kp K_CANCEL
>;
sensor-bindings = <&inc_dec_kp C_VOL_DN C_VOL_UP>;
};
Expand All @@ -63,7 +63,7 @@ ZMK_BEHAVIOR(smart_alt, hold_tap, flavor = "balanced"; tapping-term-ms = <200>;
&kp Q &kp W &kp F &kp P &kp B &kp J &kp L &kp U &kp Y &kp SEMI
&kp A &lt NAV R &kp S &kp T &kp G &kp M &kp N &kp E &kp I &kp O
&kp Z &kp X &kp C &kp D &kp V &kp K &kp H &kp COMMA &kp DOT &kp SLASH
&smart_ctrl &smart_alt &kp LALT &kp SPACE &smart_shft &mo BT &kp RGUI &kp K_CANCEL
&smart_ctrl LCTRL 0 &smart_alt LALT 0 &kp LALT &kp SPACE &smart_shft &mo BT &kp RGUI &kp K_CANCEL
>;
sensor-bindings = <&inc_dec_kp C_VOL_DN C_VOL_UP>;
};
Expand Down

0 comments on commit ab9a89c

Please # to comment.