From 9775cbbf6bddf0df8f59e7ece38e2adadcc11bea Mon Sep 17 00:00:00 2001 From: Yahia Saleh Date: Sun, 5 Jan 2025 14:51:10 -0800 Subject: [PATCH] HRM false positives #2 (Fixing quick-tap term) --- config/includes/mods.dtsi | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/config/includes/mods.dtsi b/config/includes/mods.dtsi index 17160bad0f..e834e07f83 100644 --- a/config/includes/mods.dtsi +++ b/config/includes/mods.dtsi @@ -43,13 +43,26 @@ behaviors { #binding-cells = <2>; flavor = "balanced"; tapping-term-ms = ; - quick-tap-ms = ; // repeat on tap-into-hold + quick-tap-ms = <175>; // repeat on tap-into-hold require-prior-idle-ms = ; bindings = <&kp>, <&kp>; hold-trigger-key-positions = ; 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 = ; + quick-tap-ms = <175>; // repeat on tap-into-hold + require-prior-idle-ms = ; + bindings = <&kp>, <&kp>; + hold-trigger-key-positions = ; + hold-trigger-on-release; + }; + hmls: homerow_mods_left_shift { compatible = "zmk,behavior-hold-tap"; label = "HOMEROW_MODS_LEFT"; @@ -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 = ; - quick-tap-ms = ; // repeat on tap-into-hold - require-prior-idle-ms = ; - bindings = <&kp>, <&kp>; - hold-trigger-key-positions = ; - hold-trigger-on-release; - }; hmrs: homerow_mods_right_shift { compatible = "zmk,behavior-hold-tap"; @@ -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