From d5e1ef5d6a2970337228ca1670c17fb0f2a5466e Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Sat, 23 Apr 2022 17:18:19 -0400 Subject: Homerow mod tuning --- config/planck_rev6.keymap | 50 ++++++++++++++++++++++++++++++++--------------- config/reviung41.keymap | 18 ++++++++--------- 2 files changed, 43 insertions(+), 25 deletions(-) diff --git a/config/planck_rev6.keymap b/config/planck_rev6.keymap index 6e830c3..3b0ee1b 100644 --- a/config/planck_rev6.keymap +++ b/config/planck_rev6.keymap @@ -8,14 +8,14 @@ #define NAV 4 #define FN 5 -#define HM1(k) hm LGUI k -#define HM2(k) hm LALT k -#define HM3(k) hm LCTL k -#define HM4(k) hm LSHFT k // #define HM1(k) kp k // #define HM2(k) kp k // #define HM3(k) kp k // #define HM4(k) kp k +#define HM1(k) hm_slow LGUI k +#define HM2(k) hm_med LALT k +#define HM3(k) hm_med LCTL k +#define HM4(k) hm_fast LSHFT k // Resources: // https://github.com/manna-harbour/qmk_firmware/tree/miryoku/users/manna-harbour_miryoku @@ -26,22 +26,40 @@ }; / { - combos { - compatible = "zmk,combos"; - combo_capitalize { - timeout-ms = <50>; - key-positions = <16 19>; - bindings = <&caps_word>; - }; - }; + // combos { + // compatible = "zmk,combos"; + // combo_capitalize { + // timeout-ms = <50>; + // key-positions = <16 19>; + // bindings = <&caps_word>; + // }; + // }; behaviors { - hm: homerow_mods { + hm_slow: homerow_mods_slow { + compatible = "zmk,behavior-hold-tap"; + label = "HMOD_S"; + #binding-cells = <2>; + tapping-term-ms = <250>; + quick-tap-ms = <0>; + flavor = "tap-preferred"; + bindings = <&kp>, <&kp>; + }; + hm_med: homerow_mods_medium { compatible = "zmk,behavior-hold-tap"; - label = "HOMEROW_MODS"; + label = "HMOD_M"; #binding-cells = <2>; tapping-term-ms = <200>; - quick-tap-ms = <200>; + quick-tap-ms = <0>; + flavor = "tap-preferred"; + bindings = <&kp>, <&kp>; + }; + hm_fast: homerow_mods_fast { + compatible = "zmk,behavior-hold-tap"; + label = "HMOD_F"; + #binding-cells = <2>; + tapping-term-ms = <100>; + quick-tap-ms = <0>; flavor = "tap-preferred"; bindings = <&kp>, <&kp>; }; @@ -110,7 +128,7 @@ function { bindings = < &trans &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &kp F7 &kp F8 &kp F9 &kp F10 &trans -&trans &kp F11 &kp F12 &trans &caps_word &trans &trans &caps_word &trans &trans &trans &trans +&trans &kp F11 &kp F12 &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &bootloader &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans >; diff --git a/config/reviung41.keymap b/config/reviung41.keymap index 27a0725..2238a4d 100644 --- a/config/reviung41.keymap +++ b/config/reviung41.keymap @@ -63,30 +63,30 @@ / { behaviors { - hm_slow: homerow_mods { + hm_slow: homerow_mods_slow { compatible = "zmk,behavior-hold-tap"; - label = "HOMEROW_MODS"; + label = "HMOD_S"; #binding-cells = <2>; tapping-term-ms = <250>; - quick-tap-ms = <250>; + quick-tap-ms = <0>; flavor = "tap-preferred"; bindings = <&kp>, <&kp>; }; - hm_med: homerow_mods { + hm_med: homerow_mods_medium { compatible = "zmk,behavior-hold-tap"; - label = "HOMEROW_MODS"; + label = "HMOD_M"; #binding-cells = <2>; tapping-term-ms = <200>; - quick-tap-ms = <200>; + quick-tap-ms = <0>; flavor = "tap-preferred"; bindings = <&kp>, <&kp>; }; - hm_fast: homerow_mods { + hm_fast: homerow_mods_fast { compatible = "zmk,behavior-hold-tap"; - label = "HOMEROW_MODS"; + label = "HMOD_F"; #binding-cells = <2>; tapping-term-ms = <100>; - quick-tap-ms = <100>; + quick-tap-ms = <0>; flavor = "tap-preferred"; bindings = <&kp>, <&kp>; }; -- cgit v1.2.3