From a3d2d1de280412c2c0b1f37bad61ca030eb10b83 Mon Sep 17 00:00:00 2001 From: Kabbone Date: Sat, 19 Feb 2022 13:22:36 +0100 Subject: [PATCH 01/27] first iteration colemak --- config/cradio.keymap | 57 ++++++++++++++++++++++++++++++-------------- 1 file changed, 39 insertions(+), 18 deletions(-) diff --git a/config/cradio.keymap b/config/cradio.keymap index ec5e0e7..19cc613 100644 --- a/config/cradio.keymap +++ b/config/cradio.keymap @@ -10,8 +10,8 @@ &mt { - // flavor = "tap-preferred"; - // tapping_term_ms = <200>; + flavor = "tap-preferred"; + tapping_term_ms = <200>; }; / { @@ -57,6 +57,27 @@ + }; + + behaviours { + hm: homerow_mods { + compatible = "zmk,behavior-hold-tap"; + label = "HOMEROW_MODS"; + #binding-cells = <2>; + tapping-term-ms = <200>; + quick_tap_ms = <0>; + flavor = "tap-preferred"; + bindings = <&kp>, <&kp>; + }; + td: tapdance { + compatible = "zmk,behavior-hold-tap"; + label = "TAPDANCE"; + #binding-cells = <2>; + tapping-term-ms = <150>; + quick_tap_ms = <0>; + flavor = "tap-preferred"; + bindings = <&kp>, <&kp>; + }; }; keymap { @@ -64,37 +85,37 @@ default_layer { bindings = < - &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P - &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp QUOT - &mt LSFT Z &kp X &kp C &kp V &kp B &kp N &kp M &kp CMMA &kp DOT &mt LSFT RET - &mo 1 &kp LCTL &kp SPC &mo 2 + &kp Q &kp W &kp F &kp P &kp G &kp J &kp L &kp U &kp Y &kp BSPC + &kp A &kp R &kp S &hm LGUI T &kp D &kp H &hm RGUI N &kp E &kp I &kp O + &kp Z &kp X &kp C &kp V &kp B &kp K &kp M &mt MINUS COMMA &mt EXCL DOT &mt UNDER SLASH + &mt LALT SPACE &kp LSHIFT &mt RCTRL SPACE &to 1 >; }; left_layer { bindings = < - &kp NUM_1 &kp NUM_2 &kp NUM_3 &kp NUM_4 &kp NUM_5 &kp NUM_6 &kp NUM_7 &kp NUM_8 &kp NUM_9 &kp NUM_0 - &kp TAB &kp LC(S) &kp DQT &kp PIPE2 &kp HASH &kp MINUS &kp EQL &kp LBKT &kp RBKT &kp DEL - &kp ESC &kp TILDE &kp NON_US_BSLH &kp NON_US_HASH &kp TILDE2 &kp MINUS &kp GRAVE &kp LBKT &kp RBKT &kp DEL - &mo 1 &kp LGUI &kp RGUI &mo 2 + &kp ESC &kp AT &kp HASH &kp DOLLAR &kp PERCENT &kp CARET &kp AMPS &kp STAR &mt COLON SEMI &trans + &kp TAB &mt PLUS EQUAL &kp DQT &kp PIPE2 &kp SQT &mt HOME BSLH &kp LBRC &kp RBRC &mt END PIPE &kp ENTER + &kp TILDE &kp RA(E) &trans &trans &kp DQT &kp LBKT &kp LPAR &kp RPAR &kp RBKT &to 2 + &to 0 &kp LSHIFT &kp RGUI &to 3 >; }; right_layer { bindings = < - &kp BANG &kp ATSN &kp HASH &kp DLLR &kp PRCT &kp CRRT &kp AMPS &kp KMLT &kp LPRN &kp RPRN - &kp HASH &kp QMARK &kp FSLH &kp COLN &kp SCLN &kp MINUS &kp KP_EQUAL &kp LBRC &kp RBRC &kp BKSP - &kp LSFT &kp KPLS &kp LBKT &kp RBKT &kp BSLH &kp UNDER &kp LEFT &kp DOWN &kp UP &kp RIGHT - &mo 3 &kp LCTL &kp SPC &mo 2 + &kp ESC &none &none &none &none &kp C_AC_BACK &none &none &kp C_AC_FORWARD &trans + &kp TAB &none &none &none &kp DEL &kp LEFT &kp DOWN &kp UP &kp RIGHT &kp ENTER + &kp LSFT &kp KPLS &kp LBKT &kp RBKT &kp BSLH &none &none &none &none &none + &to 0 &kp LCTL &kp RALT &to 1 >; }; tri_layer { bindings = < - &kp NUM_1 &kp NUM_2 &kp NUM_3 &kp NUM_4 &kp NUM_5 &trans &trans &trans &trans &trans - &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &trans &kp PG_UP &kp K_VOL_UP &kp K_MUTE &trans - &bt BT_CLR &bt BT_NXT &bt BT_PRV &kp F6 &kp F7 &trans &kp PG_DN &kp K_VOL_DN &trans &trans - &trans &trans &trans &trans + &kp ESC &kp C_PLAY_PAUSE &kp C_PREV &kp C_NEXT &kp UNDER &kp MINUS &kp NUM_7 &kp NUM_8 &kp NUM_9 &trans + &kp TAB &kp SLASH &kp C_VOL_UP &kp C_VOL_DN &kp PLUS &kp EQUAL &kp NUM_4 &kp NUM_5 &kp NUM_6 &kp ENTER + &bt BT_CLR &bt BT_NXT &bt BT_PRV &none &kp DOT &kp NUM_0 &kp NUM_1 &kp NUM_2 &kp NUM_3 &to 2 + &to 0 &trans &kp RALT &to 1 >; }; From 3fb743060c88c61a5ed796e7b92449f3894282f6 Mon Sep 17 00:00:00 2001 From: Kabbone Date: Sat, 19 Feb 2022 13:30:21 +0100 Subject: [PATCH 02/27] change space and add some missing symbols --- config/cradio.keymap | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/cradio.keymap b/config/cradio.keymap index 19cc613..db22f4b 100644 --- a/config/cradio.keymap +++ b/config/cradio.keymap @@ -88,15 +88,15 @@ &kp Q &kp W &kp F &kp P &kp G &kp J &kp L &kp U &kp Y &kp BSPC &kp A &kp R &kp S &hm LGUI T &kp D &kp H &hm RGUI N &kp E &kp I &kp O &kp Z &kp X &kp C &kp V &kp B &kp K &kp M &mt MINUS COMMA &mt EXCL DOT &mt UNDER SLASH - &mt LALT SPACE &kp LSHIFT &mt RCTRL SPACE &to 1 + &kp LSHIFT &mt LALT SPACE &mt RCTRL SPACE &to 1 >; }; left_layer { bindings = < &kp ESC &kp AT &kp HASH &kp DOLLAR &kp PERCENT &kp CARET &kp AMPS &kp STAR &mt COLON SEMI &trans - &kp TAB &mt PLUS EQUAL &kp DQT &kp PIPE2 &kp SQT &mt HOME BSLH &kp LBRC &kp RBRC &mt END PIPE &kp ENTER - &kp TILDE &kp RA(E) &trans &trans &kp DQT &kp LBKT &kp LPAR &kp RPAR &kp RBKT &to 2 + &kp TAB &mt PLUS EQUAL &kp QMARK &kp PIPE2 &kp SQT &mt HOME BSLH &kp LBRC &kp RBRC &mt END PIPE &kp ENTER + &kp TILDE &kp RA(E) &kp LT &kp GT &kp DQT &kp LBKT &kp LPAR &kp RPAR &kp RBKT &to 2 &to 0 &kp LSHIFT &kp RGUI &to 3 >; }; From 4b883d19b05736204e9083e0d6e17d1911411a3a Mon Sep 17 00:00:00 2001 From: Kabbone Date: Sat, 19 Feb 2022 13:52:14 +0100 Subject: [PATCH 03/27] test retro-tap enter --- config/cradio.keymap | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/cradio.keymap b/config/cradio.keymap index db22f4b..e6cfb5b 100644 --- a/config/cradio.keymap +++ b/config/cradio.keymap @@ -75,7 +75,7 @@ #binding-cells = <2>; tapping-term-ms = <150>; quick_tap_ms = <0>; - flavor = "tap-preferred"; + flavor = "retro-tap"; bindings = <&kp>, <&kp>; }; }; @@ -86,9 +86,9 @@ default_layer { bindings = < &kp Q &kp W &kp F &kp P &kp G &kp J &kp L &kp U &kp Y &kp BSPC - &kp A &kp R &kp S &hm LGUI T &kp D &kp H &hm RGUI N &kp E &kp I &kp O + &kp A &kp R &kp S &hm LGUI T &kp D &kp H &hm RGUI N &kp E &kp I &td ENTER O &kp Z &kp X &kp C &kp V &kp B &kp K &kp M &mt MINUS COMMA &mt EXCL DOT &mt UNDER SLASH - &kp LSHIFT &mt LALT SPACE &mt RCTRL SPACE &to 1 + &mt LALT SPACE &mt RCTRL SPACE &to 1 >; }; From ea31816d7c7d250b7be0cc925a3ae22ee580ff0e Mon Sep 17 00:00:00 2001 From: Kabbone Date: Sat, 19 Feb 2022 13:59:39 +0100 Subject: [PATCH 04/27] implement combo space-enter --- config/cradio.keymap | 31 ++++++++++++++++++++++++------- 1 file changed, 24 insertions(+), 7 deletions(-) diff --git a/config/cradio.keymap b/config/cradio.keymap index e6cfb5b..43334ab 100644 --- a/config/cradio.keymap +++ b/config/cradio.keymap @@ -24,37 +24,54 @@ bindings = <&kp ESC>; }; - combo_tab { + combo_tab { timeout-ms = <50>; key-positions = <10 11>; bindings = <&kp TAB>; }; - combo_ralt { + combo_ralt { timeout-ms = <50>; key-positions = <17 16>; bindings = <&kp RALT>; }; - combo_lalt { + combo_lalt { timeout-ms = <50>; key-positions = <11 12>; bindings = <&kp LALT>; }; - combo_lgui { + combo_lgui { timeout-ms = <50>; key-positions = <12 13>; bindings = <&kp LGUI>; }; - - combo_rgui { + combo_rgui { timeout-ms = <50>; key-positions = <17 18>; bindings = <&kp RGUI>; }; + combo_lenter { + timeout-ms = <50>; + key-positions = <31 19>; + bindings = <&kp ENTER>; + }; + + combo_renter { + timeout-ms = <50>; + key-positions = <32 19>; + bindings = <&kp ENTER>; + }; + + combo_layer0 { + timeout-ms = <50>; + key-positions = <30 33>; + bindings = <&to 0>; + }; + }; @@ -86,7 +103,7 @@ default_layer { bindings = < &kp Q &kp W &kp F &kp P &kp G &kp J &kp L &kp U &kp Y &kp BSPC - &kp A &kp R &kp S &hm LGUI T &kp D &kp H &hm RGUI N &kp E &kp I &td ENTER O + &kp A &kp R &kp S &hm LGUI T &kp D &kp H &hm RGUI N &kp E &kp I &kp O &kp Z &kp X &kp C &kp V &kp B &kp K &kp M &mt MINUS COMMA &mt EXCL DOT &mt UNDER SLASH &mt LALT SPACE &mt RCTRL SPACE &to 1 >; From e3e4df663f0899f57df434c0afe91d063f4206b2 Mon Sep 17 00:00:00 2001 From: Kabbone Date: Sat, 19 Feb 2022 14:02:48 +0100 Subject: [PATCH 05/27] remove retro-tap --- config/cradio.keymap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/cradio.keymap b/config/cradio.keymap index 43334ab..a5813b9 100644 --- a/config/cradio.keymap +++ b/config/cradio.keymap @@ -92,7 +92,7 @@ #binding-cells = <2>; tapping-term-ms = <150>; quick_tap_ms = <0>; - flavor = "retro-tap"; + flavor = "tap-preferred"; bindings = <&kp>, <&kp>; }; }; From 7e74593aa4e8a27c51bf17fccf26681c7612bcab Mon Sep 17 00:00:00 2001 From: Kabbone Date: Sat, 19 Feb 2022 14:27:45 +0100 Subject: [PATCH 06/27] remove hm --- config/cradio.keymap | 21 ++++++--------------- 1 file changed, 6 insertions(+), 15 deletions(-) diff --git a/config/cradio.keymap b/config/cradio.keymap index a5813b9..df91ceb 100644 --- a/config/cradio.keymap +++ b/config/cradio.keymap @@ -19,8 +19,8 @@ combos { compatible = "zmk,combos"; combo_esc { - timeout-ms = <50>; - key-positions = <0 1>; + timeout-ms = <100>; + key-positions = <3 4>; bindings = <&kp ESC>; }; @@ -86,15 +86,6 @@ flavor = "tap-preferred"; bindings = <&kp>, <&kp>; }; - td: tapdance { - compatible = "zmk,behavior-hold-tap"; - label = "TAPDANCE"; - #binding-cells = <2>; - tapping-term-ms = <150>; - quick_tap_ms = <0>; - flavor = "tap-preferred"; - bindings = <&kp>, <&kp>; - }; }; keymap { @@ -102,10 +93,10 @@ default_layer { bindings = < - &kp Q &kp W &kp F &kp P &kp G &kp J &kp L &kp U &kp Y &kp BSPC - &kp A &kp R &kp S &hm LGUI T &kp D &kp H &hm RGUI N &kp E &kp I &kp O - &kp Z &kp X &kp C &kp V &kp B &kp K &kp M &mt MINUS COMMA &mt EXCL DOT &mt UNDER SLASH - &mt LALT SPACE &mt RCTRL SPACE &to 1 + &kp Q &kp W &kp F &kp P &kp G &kp J &kp L &kp U &kp Y &kp BSPC + &kp A &kp R &kp S &kp T &kp D &kp H &kp N &kp E &kp I &kp O + &kp Z &kp X &kp C &kp V &kp B &kp K &kp M &mt MINUS COMMA &mt EXCL DOT &mt UNDER SLASH + &mt LALT SPACE &kp LSHIFT &mt RCTRL SPACE &to 1 >; }; From 6e0028bfe72a39871c19ca1a5f706dc1c4d939c1 Mon Sep 17 00:00:00 2001 From: Kabbone Date: Sat, 19 Feb 2022 15:24:14 +0100 Subject: [PATCH 07/27] switch left shift --- config/cradio.keymap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/cradio.keymap b/config/cradio.keymap index df91ceb..284a39d 100644 --- a/config/cradio.keymap +++ b/config/cradio.keymap @@ -96,7 +96,7 @@ &kp Q &kp W &kp F &kp P &kp G &kp J &kp L &kp U &kp Y &kp BSPC &kp A &kp R &kp S &kp T &kp D &kp H &kp N &kp E &kp I &kp O &kp Z &kp X &kp C &kp V &kp B &kp K &kp M &mt MINUS COMMA &mt EXCL DOT &mt UNDER SLASH - &mt LALT SPACE &kp LSHIFT &mt RCTRL SPACE &to 1 + &kp LSHIFT &mt LALT SPACE &mt RCTRL SPACE &to 1 >; }; From 616005ac6a6b00e9a0f5ec762cd74696ee7cee8e Mon Sep 17 00:00:00 2001 From: Kabbone Date: Sun, 20 Feb 2022 21:27:44 +0100 Subject: [PATCH 08/27] switch layerswitch and space --- config/cradio.keymap | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/config/cradio.keymap b/config/cradio.keymap index 284a39d..8506a25 100644 --- a/config/cradio.keymap +++ b/config/cradio.keymap @@ -96,7 +96,7 @@ &kp Q &kp W &kp F &kp P &kp G &kp J &kp L &kp U &kp Y &kp BSPC &kp A &kp R &kp S &kp T &kp D &kp H &kp N &kp E &kp I &kp O &kp Z &kp X &kp C &kp V &kp B &kp K &kp M &mt MINUS COMMA &mt EXCL DOT &mt UNDER SLASH - &kp LSHIFT &mt LALT SPACE &mt RCTRL SPACE &to 1 + &mt LALT SPACE &kp LSHIFT &to 1 &mt RCTRL SPACE >; }; @@ -105,7 +105,7 @@ &kp ESC &kp AT &kp HASH &kp DOLLAR &kp PERCENT &kp CARET &kp AMPS &kp STAR &mt COLON SEMI &trans &kp TAB &mt PLUS EQUAL &kp QMARK &kp PIPE2 &kp SQT &mt HOME BSLH &kp LBRC &kp RBRC &mt END PIPE &kp ENTER &kp TILDE &kp RA(E) &kp LT &kp GT &kp DQT &kp LBKT &kp LPAR &kp RPAR &kp RBKT &to 2 - &to 0 &kp LSHIFT &kp RGUI &to 3 + &kp LSHIFT &to 0 &to 3 &kp RGUI >; }; @@ -114,7 +114,7 @@ &kp ESC &none &none &none &none &kp C_AC_BACK &none &none &kp C_AC_FORWARD &trans &kp TAB &none &none &none &kp DEL &kp LEFT &kp DOWN &kp UP &kp RIGHT &kp ENTER &kp LSFT &kp KPLS &kp LBKT &kp RBKT &kp BSLH &none &none &none &none &none - &to 0 &kp LCTL &kp RALT &to 1 + &kp LCTL &to 0 &to 1 &kp RALT >; }; @@ -123,7 +123,7 @@ &kp ESC &kp C_PLAY_PAUSE &kp C_PREV &kp C_NEXT &kp UNDER &kp MINUS &kp NUM_7 &kp NUM_8 &kp NUM_9 &trans &kp TAB &kp SLASH &kp C_VOL_UP &kp C_VOL_DN &kp PLUS &kp EQUAL &kp NUM_4 &kp NUM_5 &kp NUM_6 &kp ENTER &bt BT_CLR &bt BT_NXT &bt BT_PRV &none &kp DOT &kp NUM_0 &kp NUM_1 &kp NUM_2 &kp NUM_3 &to 2 - &to 0 &trans &kp RALT &to 1 + &trans &to 0 &to 1 &kp RALT >; }; From 7d99c018cab0762d535bb5473b22362ea7492be9 Mon Sep 17 00:00:00 2001 From: Kabbone Date: Sun, 20 Feb 2022 21:31:11 +0100 Subject: [PATCH 09/27] change and remove some combos --- config/cradio.keymap | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/config/cradio.keymap b/config/cradio.keymap index 8506a25..594f3e5 100644 --- a/config/cradio.keymap +++ b/config/cradio.keymap @@ -20,7 +20,7 @@ compatible = "zmk,combos"; combo_esc { timeout-ms = <100>; - key-positions = <3 4>; + key-positions = <2 3>; bindings = <&kp ESC>; }; @@ -30,18 +30,6 @@ bindings = <&kp TAB>; }; - combo_ralt { - timeout-ms = <50>; - key-positions = <17 16>; - bindings = <&kp RALT>; - }; - - combo_lalt { - timeout-ms = <50>; - key-positions = <11 12>; - bindings = <&kp LALT>; - }; - combo_lgui { timeout-ms = <50>; key-positions = <12 13>; @@ -56,19 +44,19 @@ combo_lenter { timeout-ms = <50>; - key-positions = <31 19>; + key-positions = <30 19>; bindings = <&kp ENTER>; }; combo_renter { timeout-ms = <50>; - key-positions = <32 19>; + key-positions = <33 19>; bindings = <&kp ENTER>; }; combo_layer0 { timeout-ms = <50>; - key-positions = <30 33>; + key-positions = <31 32>; bindings = <&to 0>; }; From 3ee16e0b269ad4fe2a5a82d926b57a08ca77851a Mon Sep 17 00:00:00 2001 From: Kabbone Date: Tue, 22 Feb 2022 16:07:00 +0100 Subject: [PATCH 10/27] activate nkey rollover --- config/cradio.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/config/cradio.conf b/config/cradio.conf index e69de29..db6a9a3 100644 --- a/config/cradio.conf +++ b/config/cradio.conf @@ -0,0 +1 @@ +CONFIG_ZMK_HID_REPORT_TYPE_NKRO=y From 8cc8eefcaf5b4a5e92a9a4e1d6489413c8e1d0e4 Mon Sep 17 00:00:00 2001 From: Kabbone Date: Fri, 25 Feb 2022 21:27:57 +0100 Subject: [PATCH 11/27] add term combo --- config/cradio.keymap | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/config/cradio.keymap b/config/cradio.keymap index 594f3e5..6fa5296 100644 --- a/config/cradio.keymap +++ b/config/cradio.keymap @@ -24,6 +24,12 @@ bindings = <&kp ESC>; }; + combo_term { + timeout-ms = <50>; + key-positions = <30 33>; + bindings = <&kp LGUI &kp ENTER>; + }; + combo_tab { timeout-ms = <50>; key-positions = <10 11>; From 81c5ab79c8a0c6ad900430025234b302536d2034 Mon Sep 17 00:00:00 2001 From: Kabbone Date: Sat, 26 Feb 2022 14:38:04 +0100 Subject: [PATCH 12/27] add BT_SEL on layer4 --- config/cradio.keymap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/cradio.keymap b/config/cradio.keymap index 6fa5296..1c47b79 100644 --- a/config/cradio.keymap +++ b/config/cradio.keymap @@ -116,7 +116,7 @@ bindings = < &kp ESC &kp C_PLAY_PAUSE &kp C_PREV &kp C_NEXT &kp UNDER &kp MINUS &kp NUM_7 &kp NUM_8 &kp NUM_9 &trans &kp TAB &kp SLASH &kp C_VOL_UP &kp C_VOL_DN &kp PLUS &kp EQUAL &kp NUM_4 &kp NUM_5 &kp NUM_6 &kp ENTER - &bt BT_CLR &bt BT_NXT &bt BT_PRV &none &kp DOT &kp NUM_0 &kp NUM_1 &kp NUM_2 &kp NUM_3 &to 2 + &bt BT_CLR &bt BT_NXT &bt BT_PRV &BT_SEL 0 &kp DOT &kp NUM_0 &kp NUM_1 &kp NUM_2 &kp NUM_3 &to 2 &trans &to 0 &to 1 &kp RALT >; }; From 1c1c3a0c0f6608378ab0c5fa0abeb0c8b7994aff Mon Sep 17 00:00:00 2001 From: Kabbone Date: Sat, 26 Feb 2022 16:01:21 +0100 Subject: [PATCH 13/27] fix bt_sel --- config/cradio.keymap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/cradio.keymap b/config/cradio.keymap index 1c47b79..bb59583 100644 --- a/config/cradio.keymap +++ b/config/cradio.keymap @@ -116,7 +116,7 @@ bindings = < &kp ESC &kp C_PLAY_PAUSE &kp C_PREV &kp C_NEXT &kp UNDER &kp MINUS &kp NUM_7 &kp NUM_8 &kp NUM_9 &trans &kp TAB &kp SLASH &kp C_VOL_UP &kp C_VOL_DN &kp PLUS &kp EQUAL &kp NUM_4 &kp NUM_5 &kp NUM_6 &kp ENTER - &bt BT_CLR &bt BT_NXT &bt BT_PRV &BT_SEL 0 &kp DOT &kp NUM_0 &kp NUM_1 &kp NUM_2 &kp NUM_3 &to 2 + &bt BT_CLR &bt BT_NXT &bt BT_PRV &bt BT_SEL 0 &kp DOT &kp NUM_0 &kp NUM_1 &kp NUM_2 &kp NUM_3 &to 2 &trans &to 0 &to 1 &kp RALT >; }; From b25bcc0c7f6c75fe5477a7b7d1ea68def5c2575e Mon Sep 17 00:00:00 2001 From: Kabbone Date: Sat, 26 Feb 2022 16:23:43 +0100 Subject: [PATCH 14/27] add name --- config/cradio.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/config/cradio.conf b/config/cradio.conf index db6a9a3..a853a1d 100644 --- a/config/cradio.conf +++ b/config/cradio.conf @@ -1 +1,2 @@ CONFIG_ZMK_HID_REPORT_TYPE_NKRO=y +CONFIG_ZMK_KEYBOARD_NAME="Kab Ferris" From c9bd301ba5dfed504444ab00d748f8975bd9a22b Mon Sep 17 00:00:00 2001 From: Kabbone Date: Sat, 26 Feb 2022 16:51:15 +0100 Subject: [PATCH 15/27] try homerow mods --- config/cradio.keymap | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/cradio.keymap b/config/cradio.keymap index bb59583..d499d30 100644 --- a/config/cradio.keymap +++ b/config/cradio.keymap @@ -87,10 +87,10 @@ default_layer { bindings = < - &kp Q &kp W &kp F &kp P &kp G &kp J &kp L &kp U &kp Y &kp BSPC - &kp A &kp R &kp S &kp T &kp D &kp H &kp N &kp E &kp I &kp O + &mt ESC Q &kp W &kp F &kp P &kp G &kp J &kp L &kp U &kp Y &kp BSPC + &mt TAB A &kp R &kp S &kp T &kp D &kp H &kp N &kp E &kp I &hm ENTER O &kp Z &kp X &kp C &kp V &kp B &kp K &kp M &mt MINUS COMMA &mt EXCL DOT &mt UNDER SLASH - &mt LALT SPACE &kp LSHIFT &to 1 &mt RCTRL SPACE + &mt LALT SPACE &mt LCTL LSHIFT &to 1 &mt RCTRL SPACE >; }; From c019c00d65a84107372cdd11053716a37ae97ef6 Mon Sep 17 00:00:00 2001 From: Kabbone Date: Sat, 26 Feb 2022 17:20:58 +0100 Subject: [PATCH 16/27] switch to homerowmods --- config/cradio.keymap | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/config/cradio.keymap b/config/cradio.keymap index d499d30..e43c731 100644 --- a/config/cradio.keymap +++ b/config/cradio.keymap @@ -87,17 +87,17 @@ default_layer { bindings = < - &mt ESC Q &kp W &kp F &kp P &kp G &kp J &kp L &kp U &kp Y &kp BSPC - &mt TAB A &kp R &kp S &kp T &kp D &kp H &kp N &kp E &kp I &hm ENTER O - &kp Z &kp X &kp C &kp V &kp B &kp K &kp M &mt MINUS COMMA &mt EXCL DOT &mt UNDER SLASH - &mt LALT SPACE &mt LCTL LSHIFT &to 1 &mt RCTRL SPACE + &hm ESC Q &kp W &kp F &kp P &kp G &kp J &kp L &kp U &kp Y &kp BSPC + &hm TAB A &kp R &kp S &kp T &kp D &kp H &kp N &kp E &kp I &hm ENTER O + &hm LGUI Z &kp X &kp C &kp V &kp B &kp K &hm COLON M &hm MINUS COMMA &hm EXCL DOT &hm UNDER SLASH + &hm LALT SPACE &hm LCTL LSHIFT &to 1 &hm RCTRL SPACE >; }; left_layer { bindings = < - &kp ESC &kp AT &kp HASH &kp DOLLAR &kp PERCENT &kp CARET &kp AMPS &kp STAR &mt COLON SEMI &trans - &kp TAB &mt PLUS EQUAL &kp QMARK &kp PIPE2 &kp SQT &mt HOME BSLH &kp LBRC &kp RBRC &mt END PIPE &kp ENTER + &kp ESC &kp AT &kp HASH &kp DOLLAR &kp PERCENT &kp CARET &kp AMPS &kp STAR &hm COLON SEMI &trans + &kp TAB &hm PLUS EQUAL &kp QMARK &kp PIPE2 &kp SQT &hm HOME BSLH &kp LBRC &kp RBRC &hm END PIPE &kp ENTER &kp TILDE &kp RA(E) &kp LT &kp GT &kp DQT &kp LBKT &kp LPAR &kp RPAR &kp RBKT &to 2 &kp LSHIFT &to 0 &to 3 &kp RGUI >; @@ -108,7 +108,7 @@ &kp ESC &none &none &none &none &kp C_AC_BACK &none &none &kp C_AC_FORWARD &trans &kp TAB &none &none &none &kp DEL &kp LEFT &kp DOWN &kp UP &kp RIGHT &kp ENTER &kp LSFT &kp KPLS &kp LBKT &kp RBKT &kp BSLH &none &none &none &none &none - &kp LCTL &to 0 &to 1 &kp RALT + &mt LGUI LCTL &to 0 &to 1 &kp RALT >; }; From f42847d649de6b3f3f51dfa8b933a55aacb06eea Mon Sep 17 00:00:00 2001 From: Kabbone Date: Sat, 26 Feb 2022 17:22:13 +0100 Subject: [PATCH 17/27] remote hm from shift --- config/cradio.keymap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/cradio.keymap b/config/cradio.keymap index e43c731..bd09c80 100644 --- a/config/cradio.keymap +++ b/config/cradio.keymap @@ -90,7 +90,7 @@ &hm ESC Q &kp W &kp F &kp P &kp G &kp J &kp L &kp U &kp Y &kp BSPC &hm TAB A &kp R &kp S &kp T &kp D &kp H &kp N &kp E &kp I &hm ENTER O &hm LGUI Z &kp X &kp C &kp V &kp B &kp K &hm COLON M &hm MINUS COMMA &hm EXCL DOT &hm UNDER SLASH - &hm LALT SPACE &hm LCTL LSHIFT &to 1 &hm RCTRL SPACE + &hm LALT SPACE &kp LSHIFT &to 1 &hm RCTRL SPACE >; }; From 79bf8a7e80094685358ea6048bb4fab62881958f Mon Sep 17 00:00:00 2001 From: Kabbone Date: Wed, 2 Mar 2022 17:27:18 +0100 Subject: [PATCH 18/27] remove most combos --- config/cradio.conf | 1 - config/cradio.keymap | 18 ------------------ 2 files changed, 19 deletions(-) diff --git a/config/cradio.conf b/config/cradio.conf index a853a1d..db6a9a3 100644 --- a/config/cradio.conf +++ b/config/cradio.conf @@ -1,2 +1 @@ CONFIG_ZMK_HID_REPORT_TYPE_NKRO=y -CONFIG_ZMK_KEYBOARD_NAME="Kab Ferris" diff --git a/config/cradio.keymap b/config/cradio.keymap index bd09c80..2ddf01b 100644 --- a/config/cradio.keymap +++ b/config/cradio.keymap @@ -30,24 +30,6 @@ bindings = <&kp LGUI &kp ENTER>; }; - combo_tab { - timeout-ms = <50>; - key-positions = <10 11>; - bindings = <&kp TAB>; - }; - - combo_lgui { - timeout-ms = <50>; - key-positions = <12 13>; - bindings = <&kp LGUI>; - }; - - combo_rgui { - timeout-ms = <50>; - key-positions = <17 18>; - bindings = <&kp RGUI>; - }; - combo_lenter { timeout-ms = <50>; key-positions = <30 19>; From 441a9ce3ec79d06e1c93e3ba2e12d3b1a46cf7f6 Mon Sep 17 00:00:00 2001 From: Kabbone Date: Wed, 2 Mar 2022 19:27:23 +0100 Subject: [PATCH 19/27] extra bt power --- config/cradio.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/cradio.conf b/config/cradio.conf index db6a9a3..0a194ca 100644 --- a/config/cradio.conf +++ b/config/cradio.conf @@ -1 +1,3 @@ +CONFIG_BT_CTLR_TX_PWR_PLUS_8=y CONFIG_ZMK_HID_REPORT_TYPE_NKRO=y +CONFIG_ZMK_KEYBOARD_NAME="Kab Ferris" From 06e3b2d0da74771972e4ec055742922a5683b842 Mon Sep 17 00:00:00 2001 From: Kabbone Date: Sat, 12 Mar 2022 15:48:07 +0100 Subject: [PATCH 20/27] add sticky and return layers --- config/cradio.keymap | 119 ++++++++++++++++++++++++++++++++----------- 1 file changed, 90 insertions(+), 29 deletions(-) diff --git a/config/cradio.keymap b/config/cradio.keymap index 2ddf01b..529cc34 100644 --- a/config/cradio.keymap +++ b/config/cradio.keymap @@ -13,21 +13,46 @@ flavor = "tap-preferred"; tapping_term_ms = <200>; }; +&sk { + quick-release; + release-after-ms = <2000>; +}; +/* Layers */ +#define ALPH 0 +#define SYM 1 +#define NUM 2 +#define SYS 3 +#define BT 4 +#define GAME 5 / { combos { compatible = "zmk,combos"; - combo_esc { - timeout-ms = <100>; - key-positions = <2 3>; - bindings = <&kp ESC>; + + combo_game { + timeout-ms = <30>; + key-positions = <0 1 2 3>; + bindings = <&to GAME>; + }; + + combo_sys { + timeout-ms = <30>; + key-positions = <6 7 8>; + bindings = <&to SYS>; + }; + + combo_bt { + timeout-ms = <10>; + key-positions = <13 14>; + bindings = <&to BT>; + layers = ; }; combo_term { timeout-ms = <50>; key-positions = <30 33>; - bindings = <&kp LGUI &kp ENTER>; + bindings = <&kp LG(ENTER)>; }; combo_lenter { @@ -49,7 +74,6 @@ }; - }; behaviours { @@ -62,46 +86,83 @@ flavor = "tap-preferred"; bindings = <&kp>, <&kp>; }; + hl: homerow_layers { + compatible = "zmk,behavior-hold-tap"; + label = "HOMEROW_LAYERS"; + #binding-cells = <2>; + tapping-term-ms = <220>; + quick_tap_ms = <0>; + flavor = "tap-preferred"; + bindings = <&sl>, <&kp>; + }; + sr: shift_layer { + compatible = "zmk,behavior-hold-tap"; + label = "SHIFT_LAYER"; + #binding-cells = <2>; + tapping-term-ms = <300>; + quick_tap_ms = <0>; + flavor = "tap-preferred"; + bindings = <&kp>, <&to>; + retro-tap; + }; }; keymap { compatible = "zmk,keymap"; - default_layer { + alpha1 { bindings = < &hm ESC Q &kp W &kp F &kp P &kp G &kp J &kp L &kp U &kp Y &kp BSPC - &hm TAB A &kp R &kp S &kp T &kp D &kp H &kp N &kp E &kp I &hm ENTER O - &hm LGUI Z &kp X &kp C &kp V &kp B &kp K &hm COLON M &hm MINUS COMMA &hm EXCL DOT &hm UNDER SLASH - &hm LALT SPACE &kp LSHIFT &to 1 &hm RCTRL SPACE + &hl NUM A &kp R &kp S &kp T &kp D &kp H &kp N &kp E &kp I &hm ENTER O + &hl SYS Z &kp X &kp C &kp V &kp B &kp K &hm COLON M &hm MINUS COMMA &hm EXCL DOT &hm UNDER SLASH + &hl SYM SPACE &sk LSHIFT &to SYM &hm RCTRL SPACE >; }; - left_layer { + sym1 { bindings = < - &kp ESC &kp AT &kp HASH &kp DOLLAR &kp PERCENT &kp CARET &kp AMPS &kp STAR &hm COLON SEMI &trans - &kp TAB &hm PLUS EQUAL &kp QMARK &kp PIPE2 &kp SQT &hm HOME BSLH &kp LBRC &kp RBRC &hm END PIPE &kp ENTER - &kp TILDE &kp RA(E) &kp LT &kp GT &kp DQT &kp LBKT &kp LPAR &kp RPAR &kp RBKT &to 2 - &kp LSHIFT &to 0 &to 3 &kp RGUI + &kp ESC &kp AT &kp HASH &kp DOLLAR &kp PERCENT &kp CARET &kp AMPS &kp STAR &hm COLON SEMI &trans + &kp TAB &hm PLUS EQUAL &kp QMARK &kp PIPE2 &kp SQT &hm HOME BSLH &kp LBRC &kp RBRC &hm END PIPE &kp ENTER + &kp TILDE &kp SLASH &kp LT &kp GT &kp DQT &kp LBKT &kp LPAR &kp RPAR &kp RBKT &to NUM + &kp LSHIFT &to ALPH &to SYS &kp RGUI >; }; - right_layer { + num1 { bindings = < - &kp ESC &none &none &none &none &kp C_AC_BACK &none &none &kp C_AC_FORWARD &trans - &kp TAB &none &none &none &kp DEL &kp LEFT &kp DOWN &kp UP &kp RIGHT &kp ENTER - &kp LSFT &kp KPLS &kp LBKT &kp RBKT &kp BSLH &none &none &none &none &none - &mt LGUI LCTL &to 0 &to 1 &kp RALT - >; - }; - - tri_layer { - bindings = < - &kp ESC &kp C_PLAY_PAUSE &kp C_PREV &kp C_NEXT &kp UNDER &kp MINUS &kp NUM_7 &kp NUM_8 &kp NUM_9 &trans - &kp TAB &kp SLASH &kp C_VOL_UP &kp C_VOL_DN &kp PLUS &kp EQUAL &kp NUM_4 &kp NUM_5 &kp NUM_6 &kp ENTER - &bt BT_CLR &bt BT_NXT &bt BT_PRV &bt BT_SEL 0 &kp DOT &kp NUM_0 &kp NUM_1 &kp NUM_2 &kp NUM_3 &to 2 - &trans &to 0 &to 1 &kp RALT + &kp ESC &kp C_PLAY_PAUSE &kp C_PREV &kp C_NEXT &kp UNDER &kp MINUS &kp NUM_7 &kp NUM_8 &kp NUM_9 &trans + &kp TAB &kp C_VOL_UP &kp C_VOL_DN &kp STAR &kp SLASH &kp PLUS &kp NUM_4 &kp NUM_5 &kp NUM_6 &kp ENTER + &bt BT_CLR &bt BT_NXT &bt BT_PRV &bt BT_SEL 0 &kp DOT &kp EQUAL &kp NUM_1 &kp NUM_2 &kp NUM_3 &to SYS + &trans &to ALPH &to SYM &kp NUM_0 >; }; + + sys { + bindings = < + &kp ESC &LG(NUM_1) &LG(NUM_2) &LG(NUM_3) &LG(NUM_4) &LG(NUM_5) &td LC(V) LC(C) &kp UP &none &td Q BSPC + &kp TAB &kp LG(Q) &td LG(E) LG(W) &kp LG(F) &kp DEL &kp RC(TAB) &kp LEFT &kp DOWN &kp RIGHT &kp ENTER + &kp LALT &td HOME DEL &kp END &kp LG(D) &kp LG(ENTER) &none &kp PGUP &kp PGDOWN &none &none + &trans &to ALPH &to SYM &kp RALT + >; + }; + + bluetooth { + bindings = < + &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &none &none &none &none &none + &none &none &none &none &none &none &none &none &none &none + &bt BT_CLR &bt BT_NXT &bt BT_PRV &bt BT_SEL 0 &none &none &none &none &none &none + &none &to ALPH &to SYM &none + >; + }; + + gaming { + bindings = < + &kp Q &kp W &kp E &kp R &kp NUM_1 &none &none &none &none &none + &kp A &kp S &kp D &kp F &kp NUM_2 &none &none &none &none &none + &kp Z &kp X &kp C &kp V &kp NUM_3 &none &none &none &none &none + &none &to ALPH &to SYM &none + >; + }; }; }; From aea8d400538a098ed29540edfa3e2f8a4c3dc420 Mon Sep 17 00:00:00 2001 From: Kabbone Date: Sat, 12 Mar 2022 16:16:49 +0100 Subject: [PATCH 21/27] comment out sticky layer --- config/cradio.keymap | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/config/cradio.keymap b/config/cradio.keymap index 529cc34..5b11037 100644 --- a/config/cradio.keymap +++ b/config/cradio.keymap @@ -23,8 +23,8 @@ #define SYM 1 #define NUM 2 #define SYS 3 -#define BT 4 -#define GAME 5 +#define BT 4 +#define GAME 5 / { combos { @@ -95,16 +95,17 @@ flavor = "tap-preferred"; bindings = <&sl>, <&kp>; }; - sr: shift_layer { - compatible = "zmk,behavior-hold-tap"; - label = "SHIFT_LAYER"; - #binding-cells = <2>; - tapping-term-ms = <300>; - quick_tap_ms = <0>; - flavor = "tap-preferred"; - bindings = <&kp>, <&to>; - retro-tap; - }; +/* sr: shift_layer { + * compatible = "zmk,behavior-hold-tap"; + * label = "SHIFT_LAYER"; + * #binding-cells = <2>; + * tapping-term-ms = <300>; + * quick_tap_ms = <0>; + * flavor = "tap-preferred"; + * bindings = <&kp>, <&to>; + * retro-tap; + * }; + */ }; keymap { From 5897011a04e6051a7e2c8ee88bc2643a08795a76 Mon Sep 17 00:00:00 2001 From: Kabbone Date: Sat, 12 Mar 2022 16:36:39 +0100 Subject: [PATCH 22/27] disable combos --- config/cradio.keymap | 127 ++++++++++++++++++++++--------------------- 1 file changed, 65 insertions(+), 62 deletions(-) diff --git a/config/cradio.keymap b/config/cradio.keymap index 5b11037..fcaa9b7 100644 --- a/config/cradio.keymap +++ b/config/cradio.keymap @@ -13,68 +13,71 @@ flavor = "tap-preferred"; tapping_term_ms = <200>; }; -&sk { - quick-release; - release-after-ms = <2000>; -}; - -/* Layers */ -#define ALPH 0 -#define SYM 1 -#define NUM 2 -#define SYS 3 -#define BT 4 -#define GAME 5 -/ { - - combos { - compatible = "zmk,combos"; - - combo_game { - timeout-ms = <30>; - key-positions = <0 1 2 3>; - bindings = <&to GAME>; - }; - - combo_sys { - timeout-ms = <30>; - key-positions = <6 7 8>; - bindings = <&to SYS>; - }; - - combo_bt { - timeout-ms = <10>; - key-positions = <13 14>; - bindings = <&to BT>; - layers = ; - }; - - combo_term { - timeout-ms = <50>; - key-positions = <30 33>; - bindings = <&kp LG(ENTER)>; - }; - - combo_lenter { - timeout-ms = <50>; - key-positions = <30 19>; - bindings = <&kp ENTER>; - }; - - combo_renter { - timeout-ms = <50>; - key-positions = <33 19>; - bindings = <&kp ENTER>; - }; - - combo_layer0 { - timeout-ms = <50>; - key-positions = <31 32>; - bindings = <&to 0>; - }; - - - }; +/* &sk { + * quick-release; + * release-after-ms = <2000>; + *}; + * + */ + /* Layers */ + define ALPH 0 + #define SYM 1 + #define NUM 2 + #define SYS 3 + #define BT 4 + #define GAME 5 + /* + * / { + * + * combos { + * compatible = "zmk,combos"; + * + * combo_game { + * timeout-ms = <30>; + * key-positions = <0 1 2 3>; + * bindings = <&to GAME>; + * }; + * + * combo_sys { + * timeout-ms = <30>; + * key-positions = <6 7 8>; + * bindings = <&to SYS>; + * }; + * + * combo_bt { + * timeout-ms = <10>; + * key-positions = <13 14>; + * bindings = <&to BT>; + * layers = ; + * }; + * + * combo_term { + * timeout-ms = <50>; + * key-positions = <30 33>; + * bindings = <&kp LG(ENTER)>; + * }; + * + * combo_lenter { + * timeout-ms = <50>; + * key-positions = <30 19>; + * bindings = <&kp ENTER>; + * }; + * + * combo_renter { + * timeout-ms = <50>; + * key-positions = <33 19>; + * bindings = <&kp ENTER>; + * }; + * + * combo_layer0 { + * timeout-ms = <50>; + * key-positions = <31 32>; + * bindings = <&to 0>; + * }; + * + * + * }; + */ behaviours { hm: homerow_mods { From 114e69d6e102f41ab4d52736d338678d5baf2956 Mon Sep 17 00:00:00 2001 From: Kabbone Date: Sat, 12 Mar 2022 16:39:02 +0100 Subject: [PATCH 23/27] missed hashtag --- config/cradio.keymap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/cradio.keymap b/config/cradio.keymap index fcaa9b7..3c76bcd 100644 --- a/config/cradio.keymap +++ b/config/cradio.keymap @@ -20,7 +20,7 @@ * */ /* Layers */ - define ALPH 0 + #define ALPH 0 #define SYM 1 #define NUM 2 #define SYS 3 From 451982414998779adac88d6fb98b7bc0b0d3065b Mon Sep 17 00:00:00 2001 From: Kabbone Date: Sat, 12 Mar 2022 16:51:54 +0100 Subject: [PATCH 24/27] disable last two keymaps --- config/cradio.keymap | 172 +++++++++++++++++++++---------------------- 1 file changed, 85 insertions(+), 87 deletions(-) diff --git a/config/cradio.keymap b/config/cradio.keymap index 3c76bcd..85bfd24 100644 --- a/config/cradio.keymap +++ b/config/cradio.keymap @@ -12,13 +12,12 @@ &mt { flavor = "tap-preferred"; tapping_term_ms = <200>; -}; -/* &sk { - * quick-release; - * release-after-ms = <2000>; - *}; - * - */ + }; +&sk { + quick-release; + release-after-ms = <2000>; + }; + /* Layers */ #define ALPH 0 #define SYM 1 @@ -26,58 +25,56 @@ #define SYS 3 #define BT 4 #define GAME 5 - /* - * / { - * - * combos { - * compatible = "zmk,combos"; - * - * combo_game { - * timeout-ms = <30>; - * key-positions = <0 1 2 3>; - * bindings = <&to GAME>; - * }; - * - * combo_sys { - * timeout-ms = <30>; - * key-positions = <6 7 8>; - * bindings = <&to SYS>; - * }; - * - * combo_bt { - * timeout-ms = <10>; - * key-positions = <13 14>; - * bindings = <&to BT>; - * layers = ; - * }; - * - * combo_term { - * timeout-ms = <50>; - * key-positions = <30 33>; - * bindings = <&kp LG(ENTER)>; - * }; - * - * combo_lenter { - * timeout-ms = <50>; - * key-positions = <30 19>; - * bindings = <&kp ENTER>; - * }; - * - * combo_renter { - * timeout-ms = <50>; - * key-positions = <33 19>; - * bindings = <&kp ENTER>; - * }; - * - * combo_layer0 { - * timeout-ms = <50>; - * key-positions = <31 32>; - * bindings = <&to 0>; - * }; - * - * - * }; - */ + / { + + combos { + compatible = "zmk,combos"; + + combo_game { + timeout-ms = <30>; + key-positions = <0 1 2 3>; + bindings = <&to GAME>; + }; + + combo_sys { + timeout-ms = <30>; + key-positions = <6 7 8>; + bindings = <&to SYS>; + }; + + combo_bt { + timeout-ms = <10>; + key-positions = <13 14>; + bindings = <&to BT>; + layers = ; + }; + + combo_term { + timeout-ms = <50>; + key-positions = <30 33>; + bindings = <&kp LG(ENTER)>; + }; + + combo_lenter { + timeout-ms = <50>; + key-positions = <30 19>; + bindings = <&kp ENTER>; + }; + + combo_renter { + timeout-ms = <50>; + key-positions = <33 19>; + bindings = <&kp ENTER>; + }; + + combo_layer0 { + timeout-ms = <50>; + key-positions = <31 32>; + bindings = <&to 0>; + }; + + + }; behaviours { hm: homerow_mods { @@ -98,17 +95,17 @@ flavor = "tap-preferred"; bindings = <&sl>, <&kp>; }; -/* sr: shift_layer { - * compatible = "zmk,behavior-hold-tap"; - * label = "SHIFT_LAYER"; - * #binding-cells = <2>; - * tapping-term-ms = <300>; - * quick_tap_ms = <0>; - * flavor = "tap-preferred"; - * bindings = <&kp>, <&to>; - * retro-tap; - * }; - */ + sr: shift_layer { + compatible = "zmk,behavior-hold-tap"; + label = "SHIFT_LAYER"; + #binding-cells = <2>; + tapping-term-ms = <300>; + quick_tap_ms = <0>; + flavor = "tap-preferred"; + bindings = <&kp>, <&to>; + retro-tap; + }; + }; keymap { @@ -150,23 +147,24 @@ >; }; - bluetooth { - bindings = < - &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &none &none &none &none &none - &none &none &none &none &none &none &none &none &none &none - &bt BT_CLR &bt BT_NXT &bt BT_PRV &bt BT_SEL 0 &none &none &none &none &none &none - &none &to ALPH &to SYM &none - >; - }; - - gaming { - bindings = < - &kp Q &kp W &kp E &kp R &kp NUM_1 &none &none &none &none &none - &kp A &kp S &kp D &kp F &kp NUM_2 &none &none &none &none &none - &kp Z &kp X &kp C &kp V &kp NUM_3 &none &none &none &none &none - &none &to ALPH &to SYM &none - >; - }; +/* bluetooth { +* bindings = < +* &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &none &none &none &none &none +* &none &none &none &none &none &none &none &none &none &none +* &bt BT_CLR &bt BT_NXT &bt BT_PRV &bt BT_SEL 0 &none &none &none &none &none &none +* &none &to ALPH &to SYM &none +* >; +* }; +* +* gaming { +* bindings = < +* &kp Q &kp W &kp E &kp R &kp NUM_1 &none &none &none &none &none +* &kp A &kp S &kp D &kp F &kp NUM_2 &none &none &none &none &none +* &kp Z &kp X &kp C &kp V &kp NUM_3 &none &none &none &none &none +* &none &to ALPH &to SYM &none +* >; +* }; +*/ }; }; From 2eb6d45c099a9e5784bb6e4b0c750f997b4f3022 Mon Sep 17 00:00:00 2001 From: Kabbone Date: Sat, 12 Mar 2022 16:57:02 +0100 Subject: [PATCH 25/27] missed kp and td --- config/cradio.keymap | 43 +++++++++++++++++++++---------------------- 1 file changed, 21 insertions(+), 22 deletions(-) diff --git a/config/cradio.keymap b/config/cradio.keymap index 85bfd24..218fabb 100644 --- a/config/cradio.keymap +++ b/config/cradio.keymap @@ -140,31 +140,30 @@ sys { bindings = < - &kp ESC &LG(NUM_1) &LG(NUM_2) &LG(NUM_3) &LG(NUM_4) &LG(NUM_5) &td LC(V) LC(C) &kp UP &none &td Q BSPC - &kp TAB &kp LG(Q) &td LG(E) LG(W) &kp LG(F) &kp DEL &kp RC(TAB) &kp LEFT &kp DOWN &kp RIGHT &kp ENTER - &kp LALT &td HOME DEL &kp END &kp LG(D) &kp LG(ENTER) &none &kp PGUP &kp PGDOWN &none &none - &trans &to ALPH &to SYM &kp RALT + &kp ESC &kp LG(NUM_1) &kp LG(NUM_2) &LG(NUM_3) &kp LG(NUM_4) &kp LG(NUM_5) &hm LC(V) LC(C) &kp UP &kp Q &hm DEL BSPC + &kp TAB &kp LG(Q) &hm LG(E) LG(W) &kp LG(F) &kp DEL &kp RC(TAB) &kp LEFT &kp DOWN &kp RIGHT &kp ENTER + &kp LALT &hm HOME DEL &kp END &kp LG(D) &kp LG(ENTER) &none &kp PGUP &kp PGDOWN &none &none + &trans &to ALPH &to SYM &kp RALT >; }; -/* bluetooth { -* bindings = < -* &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &none &none &none &none &none -* &none &none &none &none &none &none &none &none &none &none -* &bt BT_CLR &bt BT_NXT &bt BT_PRV &bt BT_SEL 0 &none &none &none &none &none &none -* &none &to ALPH &to SYM &none -* >; -* }; -* -* gaming { -* bindings = < -* &kp Q &kp W &kp E &kp R &kp NUM_1 &none &none &none &none &none -* &kp A &kp S &kp D &kp F &kp NUM_2 &none &none &none &none &none -* &kp Z &kp X &kp C &kp V &kp NUM_3 &none &none &none &none &none -* &none &to ALPH &to SYM &none -* >; -* }; -*/ + bluetooth { + bindings = < + &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &none &none &none &none &none + &none &none &none &none &none &none &none &none &none &none + &bt BT_CLR &bt BT_NXT &bt BT_PRV &bt BT_SEL 0 &none &none &none &none &none &none + &none &to ALPH &to SYM &none + >; + }; + + gaming { + bindings = < + &kp Q &kp W &kp E &kp R &kp NUM_1 &none &none &none &none &none + &kp A &kp S &kp D &kp F &kp NUM_2 &none &none &none &none &none + &kp Z &kp X &kp C &kp V &kp NUM_3 &none &none &none &none &none + &none &to ALPH &to SYM &none + >; + }; }; }; From 53d4ef5c17d13886e840dc32c605903ab3acfb48 Mon Sep 17 00:00:00 2001 From: Kabbone Date: Sat, 12 Mar 2022 17:01:13 +0100 Subject: [PATCH 26/27] missed another kp --- config/cradio.keymap | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/cradio.keymap b/config/cradio.keymap index 218fabb..8b9f60e 100644 --- a/config/cradio.keymap +++ b/config/cradio.keymap @@ -140,9 +140,9 @@ sys { bindings = < - &kp ESC &kp LG(NUM_1) &kp LG(NUM_2) &LG(NUM_3) &kp LG(NUM_4) &kp LG(NUM_5) &hm LC(V) LC(C) &kp UP &kp Q &hm DEL BSPC - &kp TAB &kp LG(Q) &hm LG(E) LG(W) &kp LG(F) &kp DEL &kp RC(TAB) &kp LEFT &kp DOWN &kp RIGHT &kp ENTER - &kp LALT &hm HOME DEL &kp END &kp LG(D) &kp LG(ENTER) &none &kp PGUP &kp PGDOWN &none &none + &kp ESC &kp LG(NUM_1) &kp LG(NUM_2) &kp LG(NUM_3) &kp LG(NUM_4) &kp LG(NUM_5) &hm LC(V) LC(C) &kp UP &kp Q &hm DEL BSPC + &kp TAB &kp LG(Q) &hm LG(E) LG(W) &kp LG(F) &kp DEL &kp RC(TAB) &kp LEFT &kp DOWN &kp RIGHT &kp ENTER + &kp LALT &hm HOME DEL &kp END &kp LG(D) &kp LG(ENTER) &none &kp PGUP &kp PGDOWN &none &none &trans &to ALPH &to SYM &kp RALT >; }; From 29be5c8c146e06660c05209f9fef1f4f0cea063a Mon Sep 17 00:00:00 2001 From: Kabbone Date: Sat, 12 Mar 2022 17:06:47 +0100 Subject: [PATCH 27/27] fix page up/down keycode --- config/cradio.keymap | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/cradio.keymap b/config/cradio.keymap index 8b9f60e..b33c818 100644 --- a/config/cradio.keymap +++ b/config/cradio.keymap @@ -142,8 +142,8 @@ bindings = < &kp ESC &kp LG(NUM_1) &kp LG(NUM_2) &kp LG(NUM_3) &kp LG(NUM_4) &kp LG(NUM_5) &hm LC(V) LC(C) &kp UP &kp Q &hm DEL BSPC &kp TAB &kp LG(Q) &hm LG(E) LG(W) &kp LG(F) &kp DEL &kp RC(TAB) &kp LEFT &kp DOWN &kp RIGHT &kp ENTER - &kp LALT &hm HOME DEL &kp END &kp LG(D) &kp LG(ENTER) &none &kp PGUP &kp PGDOWN &none &none - &trans &to ALPH &to SYM &kp RALT + &kp LALT &hm HOME DEL &kp END &kp LG(D) &kp LG(ENTER) &none &kp PG_UP &kp PG_DN &none &none + &trans &to ALPH &to SYM &kp RALT >; };