summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/cradio.keymap43
1 files changed, 39 insertions, 4 deletions
diff --git a/config/cradio.keymap b/config/cradio.keymap
index 560e180..1bf39fd 100644
--- a/config/cradio.keymap
+++ b/config/cradio.keymap
@@ -7,7 +7,8 @@
7#include <behaviors.dtsi> 7#include <behaviors.dtsi>
8#include <dt-bindings/zmk/keys.h> 8#include <dt-bindings/zmk/keys.h>
9#include <dt-bindings/zmk/bt.h> 9#include <dt-bindings/zmk/bt.h>
10#include <dt-bindings/zmk/ext_power.h> 10#include <dt-bindings/zmk/keys.h>
11#include <behaviors.dtsi>
11 12
12#define COLEMAK 0 13#define COLEMAK 0
13#define NAV 1 14#define NAV 1
@@ -22,6 +23,40 @@
22 23
23/ { 24/ {
24 25
26 behaviors {
27 lf: left_hand_positional_hold_tap {
28 compatible = "zmk,behavior-hold-tap";
29 label = "LEFT_POSITIONAL_HOLD_TAP";
30 #binding-cells = <2>;
31 flavor = "tap-unless-interrupted";
32 tapping-term-ms = <200>;
33 quick-tap-ms = <100>;
34 bindings = <&kp>, <&kp>;
35 hold-trigger-key-positions = <
36 5 6 7 8 9
37 15 16 17 18 19
38 25 26 27 28 29
39 32 33
40 >;
41 };
42
43 rh: right_hand_positional_hold_tap {
44 compatible = "zmk,behavior-hold-tap";
45 label = "RIGHT_POSITIONAL_HOLD_TAP";
46 #binding-cells = <2>;
47 flavor = "tap-unless-interrupted";
48 tapping-term-ms = <200>;
49 quick-tap-ms = <100>;
50 bindings = <&kp>, <&kp>;
51 hold-trigger-key-positions = <
52 0 1 2 3 4
53 10 11 12 13 14
54 20 21 22 23 24
55 30 31
56 >;
57 };
58 };
59
25 combos { 60 combos {
26 compatible = "zmk,combos"; 61 compatible = "zmk,combos";
27 }; 62 };
@@ -31,7 +66,7 @@
31 default_layer { 66 default_layer {
32 bindings = < 67 bindings = <
33 &kp Q &kp W &kp F &kp P &kp G &kp J &kp L &kp U &kp Y &kp SCLN 68 &kp Q &kp W &kp F &kp P &kp G &kp J &kp L &kp U &kp Y &kp SCLN
34 &mt LGUI A &mt LALT R &mt LSHIFT S &mt LCTRL T &kp D &kp H &mt LCTRL N &mt RSHIFT E &mt LALT I &mt LGUI O 69 &lf LGUI A &lf LALT R &lf LSHIFT S &lf LCTRL T &kp D &kp H &rh LCTRL N &rh RSHIFT E &rh LALT I &rh LGUI O
35 &kp Z &kp X &kp C &kp V &kp B &kp K &kp M &kp CMMA &kp DOT &kp FSLH 70 &kp Z &kp X &kp C &kp V &kp B &kp K &kp M &kp CMMA &kp DOT &kp FSLH
36 &kp TAB &lt NAV SPC &lt SYM RET &lt NUM BSPC 71 &kp TAB &lt NAV SPC &lt SYM RET &lt NUM BSPC
37 >; 72 >;
@@ -39,7 +74,7 @@
39 74
40 nav_layer { 75 nav_layer {
41 bindings = < 76 bindings = <
42 &bt BT_CLR &trans &trans &trans &ext_power EP_TOG &trans &kp LBRC &kp RBRC &kp LPAR &kp RPAR 77 &bt BT_CLR &trans &trans &trans &trans &trans &kp LBRC &kp RBRC &kp LPAR &kp RPAR
43 &bt BT_SEL 0 &trans &trans &trans &trans &kp LEFT &kp DOWN &kp UP &kp RIGHT &trans 78 &bt BT_SEL 0 &trans &trans &trans &trans &kp LEFT &kp DOWN &kp UP &kp RIGHT &trans
44 &bt BT_SEL 1 &trans &trans &bootloader &reset &trans &kp LBKT &kp RBKT &trans &trans 79 &bt BT_SEL 1 &trans &trans &bootloader &reset &trans &kp LBKT &kp RBKT &trans &trans
45 &trans &trans &kp ESC &trans 80 &trans &trans &kp ESC &trans
@@ -48,7 +83,7 @@
48 83
49 num_layer { 84 num_layer {
50 bindings = < 85 bindings = <
51 &caps_word &kp N7 &kp N8 &kp N9 &kp ESC &trans &trans &trans &trans &trans 86 &trans &kp N7 &kp N8 &kp N9 &kp ESC &trans &trans &trans &trans &trans
52 &kp SQT &kp N4 &kp N5 &kp N6 &kp KP_EQUAL &trans &trans &trans &trans &trans 87 &kp SQT &kp N4 &kp N5 &kp N6 &kp KP_EQUAL &trans &trans &trans &trans &trans
53 &kp GRAVE &kp N1 &kp N2 &kp N3 &kp BSLH &trans &trans &trans &trans &trans 88 &kp GRAVE &kp N1 &kp N2 &kp N3 &kp BSLH &trans &trans &trans &trans &trans
54 &kp N0 &kp KP_MINUS &trans &trans 89 &kp N0 &kp KP_MINUS &trans &trans