From cc839c9023e313aeeeda66ab52972d68b68c1460 Mon Sep 17 00:00:00 2001 From: Daniel Bauer <4690162+dnlbauer@users.noreply.github.com> Date: Tue, 24 Jan 2023 19:29:03 +0100 Subject: [PATCH] hide bluetooth clear behind tabdance --- config/sofle.keymap | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/config/sofle.keymap b/config/sofle.keymap index 1e4257d..6ca15f9 100644 --- a/config/sofle.keymap +++ b/config/sofle.keymap @@ -28,6 +28,14 @@ bindings = <&kp F5>, <&reset>; }; + tdblclear: tdblclear { + compatible = "zmk,behavior-tap-dance"; + label = "tdblclear"; + #binding-cells = <0>; + tapping-term-ms = <200>; + bindings = <&trans>, <&bt BT_CLR>; + } + tdrstr: tdrstr { compatible = "zmk,behavior-tap-dance"; label = "tdrstr"; @@ -95,7 +103,7 @@ // | | | | | | | | | | | | bindings = < - &bt BT_CLR &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &tdrstr &trans &trans &trans &trans &trans + &tdblclear &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &tdrstr &trans &trans &trans &trans &trans &kp LA(F4) &trans &trans &trans &tdcaps &trans &kp PG_UP &kp INS &kp PSCRN &kp K_CMENU &trans &trans &trans &kp EXCL &kp AT &kp HASH &kp DLLR &kp PRCNT &kp LEFT &kp DOWN &kp UP &kp RIGHT &kp DEL &kp BSPC &trans &kp EQUAL &kp MINUS &kp PLUS &kp LBRC &kp RBRC &trans &trans &kp PG_DN &kp C_PREV &kp C_PP &kp C_NEXT &trans &trans