From 304f466876ba74e2488993b4e8120048214323b5 Mon Sep 17 00:00:00 2001 From: Bastien Riviere Date: Wed, 24 Apr 2024 17:19:52 +0200 Subject: [PATCH] chore: restrict combo layers --- config/cradio.keymap | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/config/cradio.keymap b/config/cradio.keymap index 8b162af..3b306b2 100644 --- a/config/cradio.keymap +++ b/config/cradio.keymap @@ -56,31 +56,37 @@ timeout-ms = <25>; key-positions = ; bindings = <&kp K_CANCEL>; + layers = ; }; combo_escape { timeout-ms = <25>; key-positions = ; bindings = <&kp ESCAPE>; + layers = ; }; combo_equal { timeout-ms = <25>; key-positions = ; bindings = <&kp EQUAL>; + layers = ; }; combo_l_ctrl { timeout-ms = <25>; key-positions = ; bindings = <&sk LCTRL>; + layers = ; }; combo_tab { timeout-ms = <25>; key-positions = ; bindings = << MODS TAB>; + layers = ; }; combo_l_cmd { timeout-ms = <25>; key-positions = ; bindings = <&sk LCMD>; + layers = ; }; @@ -88,32 +94,38 @@ timeout-ms = <25>; key-positions = ; bindings = <&kp BACKSPACE>; + layers = ; }; combo_r_ctrl { timeout-ms = <25>; key-positions = ; bindings = <&sk LCTRL>; + layers = ; }; combo_enter { timeout-ms = <25>; key-positions = ; bindings = <&kp ENTER>; + layers = ; }; combo_r_cmd { timeout-ms = <25>; key-positions = ; bindings = <&sk LCMD>; + layers = ; }; combo_l_alt { timeout-ms = <80>; key-positions = ; bindings = <&sk LALT>; + layers = ; }; combo_r_alt { timeout-ms = <80>; key-positions = ; bindings = <&sk LALT>; + layers = ; }; @@ -121,22 +133,26 @@ timeout-ms = <40>; key-positions = ; bindings = <&kp MINUS>; + layers = ; }; combo_underscore { timeout-ms = <40>; key-positions = ; bindings = <&kp UNDERSCORE>; + layers = ; }; combo_colon { timeout-ms = <40>; key-positions = ; bindings = <&kp COLON>; + layers = ; }; combo_semi { timeout-ms = <40>; key-positions = ; bindings = <&kp SEMI>; + layers = ; }; }; @@ -166,7 +182,7 @@ &kp TILDE &kp AMPS &kp STAR &kp PLUS &none &none &kp EQUAL &kp BSLH &kp PIPE &kp GRAVE //├──────────┼──────────┼──────────┼──────────┼──────────┤ ├──────────┼──────────┼──────────┼──────────┼──────────┤ //│ │ $ │ % │ ^ │ - │ │ : │ ( │ { │ [ │ │ - &none &kp DLLR &kp PRCNT &kp CARET &kp MINUS &kp COLN &kp LPAR &kp LBRC &kp LBKT &none + &none &kp DLLR &kp PRCNT &kp CARET &kp MINUS &kp COLON &kp LPAR &kp LBRC &kp LBKT &none //├──────────┼──────────┼──────────┼──────────┼──────────┤ ├──────────┼──────────┼──────────┼──────────┼──────────┤ //│ │ ! │ @ │ # │ _ │ │ ; │ ) │ } │ ] │ │ &none &kp EXCL &kp AT &kp HASH &kp UNDER &kp SEMI &kp RPAR &kp RBRC &kp RBKT &none