Skip to content

Commit

Permalink
HRM false positives KinesisCorporation#2 (Fixing quick-tap term)
Browse files Browse the repository at this point in the history
  • Loading branch information
yahia-saleh committed Jan 5, 2025
1 parent e4f5da6 commit 9775cbb
Showing 1 changed file with 15 additions and 14 deletions.
29 changes: 15 additions & 14 deletions config/includes/mods.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,26 @@ behaviors {
#binding-cells = <2>;
flavor = "balanced";
tapping-term-ms = <HM_TAPPING_TERM>;
quick-tap-ms = <HM_TAPPING_TERM_FAST>; // repeat on tap-into-hold
quick-tap-ms = <175>; // repeat on tap-into-hold
require-prior-idle-ms = <HM_PRIOR_IDLE>;
bindings = <&kp>, <&kp>;
hold-trigger-key-positions = <KEYS_R THUMBS_LEFT THUMBS_RIGHT>;
hold-trigger-on-release;
};

hmr: homerow_mods_right {
compatible = "zmk,behavior-hold-tap";
label = "HOMEROW_MODS_RIGHT";
#binding-cells = <2>;
flavor = "balanced";
tapping-term-ms = <HM_TAPPING_TERM>;
quick-tap-ms = <175>; // repeat on tap-into-hold
require-prior-idle-ms = <HM_PRIOR_IDLE>;
bindings = <&kp>, <&kp>;
hold-trigger-key-positions = <KEYS_L THUMBS_LEFT THUMBS_RIGHT>;
hold-trigger-on-release;
};

hmls: homerow_mods_left_shift {
compatible = "zmk,behavior-hold-tap";
label = "HOMEROW_MODS_LEFT";
Expand All @@ -63,18 +76,6 @@ behaviors {
hold-trigger-on-release;
};

hmr: homerow_mods_right {
compatible = "zmk,behavior-hold-tap";
label = "HOMEROW_MODS_RIGHT";
#binding-cells = <2>;
flavor = "balanced";
tapping-term-ms = <HM_TAPPING_TERM>;
quick-tap-ms = <HM_TAPPING_TERM_FAST>; // repeat on tap-into-hold
require-prior-idle-ms = <HM_PRIOR_IDLE>;
bindings = <&kp>, <&kp>;
hold-trigger-key-positions = <KEYS_L THUMBS_LEFT THUMBS_RIGHT>;
hold-trigger-on-release;
};

hmrs: homerow_mods_right_shift {
compatible = "zmk,behavior-hold-tap";
Expand All @@ -92,7 +93,7 @@ behaviors {
/*
* Non-Positional Homerow Mods
* Used for &mm_grescm_gui behavior on left hand.
*
*150
* Usage: &hm LSHFT T
* Tap: T
* Tap-Tap-Hold: Repeat T
Expand Down

0 comments on commit 9775cbb

Please sign in to comment.