From 6184249213d2f6ecadcfe8b8ee904f7229984a63 Mon Sep 17 00:00:00 2001 From: Bastien Riviere Date: Sat, 4 May 2024 17:11:41 +0200 Subject: [PATCH] chore: move macros --- config/cradio.keymap | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/config/cradio.keymap b/config/cradio.keymap index f9e55cb..5b108a0 100644 --- a/config/cradio.keymap +++ b/config/cradio.keymap @@ -27,6 +27,20 @@ release-after-ms = <2000>; }; +/ { + macros { + bts: bts { + compatible = "zmk,behavior-macro-one-param"; + #binding-cells = <1>; + bindings + = <&out OUT_BLE> + , <¯o_param_1to2> + , <&bt BT_SEL MACRO_PLACEHOLDER>; + }; + }; +}; + + / { behaviors { ht: hold_tap { @@ -48,17 +62,6 @@ }; }; - macros { - bts: bts { - compatible = "zmk,behavior-macro-one-param"; - #binding-cells = <1>; - bindings = - <&out OUT_BLE> - , <¯o_param_1to2> - , <&bt BT_SEL MACRO_PLACEHOLDER>; - }; - }; - combos { compatible = "zmk,combos"; combo_clear { @@ -190,10 +193,10 @@ //│ ~ │ & │ * │ + │ │ │ │ = │ \ │ | │ ` │ &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 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 //╰──────────┴──────────┴──────────┼──────────┼──────────┤ ├──────────┼──────────┼──────────┴──────────┴──────────╯ &mo WNAV &kp ESC &trans &trans