From 451982414998779adac88d6fb98b7bc0b0d3065b Mon Sep 17 00:00:00 2001 From: Kabbone Date: Sat, 12 Mar 2022 16:51:54 +0100 Subject: [PATCH] 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 +* >; +* }; +*/ }; };