From 607eca9b2eba85cf10d61703eda3218337a9de81 Mon Sep 17 00:00:00 2001 From: Daniel Bauer <4690162+dnlbauer@users.noreply.github.com> Date: Tue, 20 Dec 2022 00:09:50 +0100 Subject: [PATCH] Update sofle.keymap --- config/sofle.keymap | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/config/sofle.keymap b/config/sofle.keymap index b031ae1..0eedf45 100644 --- a/config/sofle.keymap +++ b/config/sofle.keymap @@ -20,6 +20,24 @@ / { + behaviors { + tdrstl { + compatible = "zmk,behavior-tap-dance"; + label = "left F5 / reset"; + #binding_cells = <0>; + tapping_term_ms = <200>; + bindings = <&kp F5>, <&reset>; + }; + tdrstr { + compatible = "zmk,bhavior-tap-dance"; + label "trans / reset"; + #binding_cells = <0>; + tapping_term_ms = <0>; + bindings = <&trans>, <&reset>; + } + + }; + keymap { compatible = "zmk,keymap"; @@ -45,14 +63,14 @@ lower_layer { // TODO: Some binds are waiting for shifted keycode support. // ---------------------------------------------------------------------------------------------------------- - // | | F1 | F2 | F3 | F4 |F5/rst| |F6/rst| F7 | F8 | F9 | F10 | F11 | + // | | F1 | F2 | F3 | F4 |F5/rst| | F6 | F7 | F8 | F9 | F10 | F11 | // | ` | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | F12 | // | | ! | @ | # | $ | % | | ^ | & | * | ( | ) | | | // | | = | - | + | { | } | | | | [ | ] | ; | : | \ | - | // | | | | | VCC | | | | | | | bindings = < - &trans &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &kp F7 &kp F8 &kp F9 &kp F10 &kp F11 + &trans &kp F1 &kp F2 &kp F3 &kp F4 &tdrstl &kp F6 &kp F7 &kp F8 &kp F9 &kp F10 &kp F11 &kp GRAVE &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp F12 &trans &kp EXCL &kp AT &kp HASH &kp DLLR &kp PRCNT &kp CARET &kp AMPS &kp KP_MULTIPLY &kp LPAR &kp RPAR &kp PIPE &trans &kp EQUAL &kp MINUS &kp KP_PLUS &kp LBRC &kp RBRC &trans &trans &kp LBKT &kp RBKT &kp SEMI &kp COLON &kp BSLH &kp MINUS @@ -64,14 +82,14 @@ raise_layer { // ------------------------------------------------------------------------------------------------------------ - // |BTCLR| BT0 | BT1 | BT2 | BT3 | BT4 | | | | | | | RST | + // |BTCLR| BT0 | BT1 | BT2 | BT3 | BT4 | | /RST | | | | | | // |A+F4 | INS | PSCR | GUI | CAPSW | CAPS | | | | | | | | // | | ! | @ | # | $ | % | | <- | v | ^ | -> | DEL | BKSPC | // | | = | - | + | { | } | | | | | prev | play | next | | | // | | | | | | | | | | | | bindings = < - &bt BT_CLR &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &trans &trans &trans &trans &trans &reset + &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 &kp LA(F4) &kp INS &kp PSCRN &kp K_CMENU &caps_word &kp CAPS &trans &trans &trans &trans &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 &trans &kp C_PREV &kp C_PP &kp C_NEXT &trans &trans