summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/cradio.keymap31
1 files changed, 29 insertions, 2 deletions
diff --git a/config/cradio.keymap b/config/cradio.keymap
index 4929214..b16d636 100644
--- a/config/cradio.keymap
+++ b/config/cradio.keymap
@@ -27,8 +27,35 @@
27&mt { 27&mt {
28 flavor = "tap-preferred"; 28 flavor = "tap-preferred";
29 tapping_term_ms = <200>; 29 tapping_term_ms = <200>;
30 quick_tap_ms = <75>;
30}; 31};
31 32
33#define KEYS_L 0 1 2 3 4 10 11 12 13 14 20 21 22 23 24
34#define KEYS_R 5 6 7 8 9 15 16 17 18 19 25 26 27 28 29
35#define THUMBS 30 31 32 33
36
37/* left-hand HRMs */
38ZMK_BEHAVIOR(ml, hold_tap,
39 flavor = "balanced";
40 tapping-term-ms = <280>;
41 quick-tap-ms = <175>; // repeat on tap-into-hold
42 global-quick-tap-ms = <150>; // requires PR #1387
43 bindings = <&kp>, <&kp>;
44 hold-trigger-key-positions = <KEYS_R THUMBS>;
45 hold-trigger-on-release; // delay positional check until key-release
46 )
47
48/* right-hand HRMs */
49ZMK_BEHAVIOR(mr, hold_tap,
50 flavor = "balanced";
51 tapping-term-ms = <280>;
52 quick-tap-ms = <175>; // repeat on tap-into-hold
53 global-quick-tap-ms = <150>; // requires PR #1387
54 bindings = <&kp>, <&kp>;
55 hold-trigger-key-positions = <KEYS_L THUMBS>;
56 hold-trigger-on-release; // delay positional check until key-release
57 )
58
32/ { 59/ {
33 60
34 combos { 61 combos {
@@ -75,7 +102,7 @@
75 default_layer { 102 default_layer {
76 bindings = < 103 bindings = <
77 &kp Q &kp W &kp F &kp P &kp G &kp J &kp L &kp U &kp Y &kp SCLN 104 &kp Q &kp W &kp F &kp P &kp G &kp J &kp L &kp U &kp Y &kp SCLN
78 &mt LGUI A &mt LALT R &mt LSHIFT S &mt LCTRL T &mt LG(LA(LS(LCTRL))) D &mt LG(LA(LS(LCTRL))) H &mt LCTRL N &mt RSHIFT E &mt LALT I &mt LGUI O 105 &ml LGUI A &ml LALT R &ml LSHIFT S &ml LCTRL T &ml LG(LA(LS(LCTRL))) D &mr LG(LA(LS(LCTRL))) H &mr LCTRL N &mr RSHIFT E &mr LALT I &mr LGUI O
79 &kp Z &kp X &kp C &kp V &kp B &kp K &kp M &kp CMMA &kp DOT &kp FSLH 106 &kp Z &kp X &kp C &kp V &kp B &kp K &kp M &kp CMMA &kp DOT &kp FSLH
80 &lt FUN TAB &lt NAV SPC &lt SYM RET &lt NUM BSPC 107 &lt FUN TAB &lt NAV SPC &lt SYM RET &lt NUM BSPC
81 >; 108 >;
@@ -129,7 +156,7 @@
129 draw { 156 draw {
130 bindings = < 157 bindings = <
131 &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P 158 &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P
132 &kp N1 &kp S &kp N3 &mt LCTRL F &kp G &kp H &mt LCTRL J &mt RSHIFT K &mt LALT L &mt LGUI SCLN 159 &kp N1 &kp S &kp N3 &ml LCTRL F &kp G &kp H &mr LCTRL J &mr RSHIFT K &mr LALT L &mr LGUI SCLN
133 &kp Z &kp X &kp C &kp V &kp B &kp M &kp LEFT &kp DOWN &kp RIGHT &trans 160 &kp Z &kp X &kp C &kp V &kp B &kp M &kp LEFT &kp DOWN &kp RIGHT &trans
134 &kp R &kp U &kp RET &kp BSPC 161 &kp R &kp U &kp RET &kp BSPC
135 >; 162 >;