diff options
author | Akshay <[email protected]> | 2022-07-04 16:59:32 +0100 |
---|---|---|
committer | Akshay <[email protected]> | 2022-07-04 17:46:16 +0100 |
commit | 5204f9c0fb1c51309fa0545bafbc4912bdce0ab9 (patch) | |
tree | 796dd048fa38a1f64740868e9e50ea4dc1b4a713 | |
parent | 4c1ec27699941c3c00992df450035e3d4522929c (diff) |
allow same row mods
-rw-r--r-- | config/cradio.keymap | 43 |
1 files changed, 7 insertions, 36 deletions
diff --git a/config/cradio.keymap b/config/cradio.keymap index 43cfa9a..13c4cdf 100644 --- a/config/cradio.keymap +++ b/config/cradio.keymap | |||
@@ -23,42 +23,13 @@ | |||
23 | 23 | ||
24 | / { | 24 | / { |
25 | 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-preferred"; | ||
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-preferred"; | ||
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 | |||
60 | combos { | 26 | combos { |
61 | compatible = "zmk,combos"; | 27 | compatible = "zmk,combos"; |
28 | combo_caps_word { | ||
29 | timeout-ms = <100>; | ||
30 | key-positions = <20 29>; | ||
31 | bindings = <&caps_word>; | ||
32 | }; | ||
62 | }; | 33 | }; |
63 | 34 | ||
64 | keymap { | 35 | keymap { |
@@ -66,7 +37,7 @@ | |||
66 | default_layer { | 37 | default_layer { |
67 | bindings = < | 38 | bindings = < |
68 | &kp Q &kp W &kp F &kp P &kp G &kp J &kp L &kp U &kp Y &kp SCLN | 39 | &kp Q &kp W &kp F &kp P &kp G &kp J &kp L &kp U &kp Y &kp SCLN |
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 | 40 | &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 |
70 | &kp Z &kp X &kp C &kp V &kp B &kp K &kp M &kp CMMA &kp DOT &kp FSLH | 41 | &kp Z &kp X &kp C &kp V &kp B &kp K &kp M &kp CMMA &kp DOT &kp FSLH |
71 | &kp TAB < NAV SPC < SYM RET < NUM BSPC | 42 | &kp TAB < NAV SPC < SYM RET < NUM BSPC |
72 | >; | 43 | >; |
@@ -92,7 +63,7 @@ | |||
92 | 63 | ||
93 | sym_layer { | 64 | sym_layer { |
94 | bindings = < | 65 | bindings = < |
95 | &caps_word &kp AMPS &kp STAR &kp LPAR &kp ESC &trans &trans &trans &trans &trans | 66 | &trans &kp AMPS &kp STAR &kp LPAR &kp ESC &trans &trans &trans &trans &trans |
96 | &kp DQT &kp DLLR &kp PRCNT &kp CARET &kp KP_PLUS &trans &trans &trans &trans &trans | 67 | &kp DQT &kp DLLR &kp PRCNT &kp CARET &kp KP_PLUS &trans &trans &trans &trans &trans |
97 | &kp TILDE &kp EXCL &kp AT &kp HASH &kp PIPE &reset &bootloader &trans &trans &trans | 68 | &kp TILDE &kp EXCL &kp AT &kp HASH &kp PIPE &reset &bootloader &trans &trans &trans |
98 | &kp RPAR &kp UNDER &trans &trans | 69 | &kp RPAR &kp UNDER &trans &trans |