forked from ThePrimeagen/real-prog-dvorak-zmk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
adv360.keymap
192 lines (186 loc) · 9.53 KB
/
adv360.keymap
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
#include <behaviors.dtsi>
#include <dt-bindings/zmk/keys.h>
#include <dt-bindings/zmk/bt.h>
#include <dt-bindings/zmk/rgb.h>
#include <dt-bindings/zmk/backlight.h>
/ {
behaviors {
#include "macros.dtsi"
hm: homerow_mods {
compatible = "zmk,behavior-hold-tap";
label = "HOMEROW_MODS";
#binding-cells = <2>;
tapping-term-ms = <200>;
quick_tap_ms = <175>;
flavor = "tap-preferred";
bindings = <&kp>, <&kp>;
};
gpipe: grave_pipe {
compatible = "zmk,behavior-mod-morph";
label = "grave_pipe";
#binding-cells = <0>;
bindings = <&kp GRAVE>, <&kp PIPE>;
mods = <(MOD_LGUI|MOD_LSFT|MOD_RGUI|MOD_RSFT)>;
};
ppipe: pipe_pipe {
compatible = "zmk,behavior-mod-morph";
label = "pipe_pipe";
#binding-cells = <0>;
bindings = <&kp PIPE>, <&kp PIPE>;
mods = <(MOD_LGUI|MOD_LSFT|MOD_RGUI|MOD_RSFT)>;
};
pkp_n1: plus_kp_n1 {
compatible = "zmk,behavior-mod-morph";
label = "plus_kp_n1";
#binding-cells = <0>;
bindings = <&kp PLUS>, <&kp KP_N1>;
mods = <(MOD_LGUI|MOD_LSFT|MOD_RGUI|MOD_RSFT)>;
};
lkp_n2: left_bracket_kp_n2 {
compatible = "zmk,behavior-mod-morph";
label = "left_bracket_kp_n2";
#binding-cells = <0>;
bindings = <&kp LEFT_BRACKET>, <&kp KP_N2>;
mods = <(MOD_LGUI|MOD_LSFT|MOD_RGUI|MOD_RSFT)>;
};
lkp_n3: left_brace_kp_n3 {
compatible = "zmk,behavior-mod-morph";
label = "left_brace_kp_n3";
#binding-cells = <0>;
bindings = <&kp LEFT_BRACE>, <&kp KP_N3>;
mods = <(MOD_LGUI|MOD_LSFT|MOD_RGUI|MOD_RSFT)>;
};
lkp_n4: left_parenthesis_kp_n4 {
compatible = "zmk,behavior-mod-morph";
label = "left_parenthesis_kp_n4";
#binding-cells = <0>;
bindings = <&kp LEFT_PARENTHESIS>, <&kp KP_N4>;
mods = <(MOD_LGUI|MOD_LSFT|MOD_RGUI|MOD_RSFT)>;
};
akp_n5: amps_kp_n5 {
compatible = "zmk,behavior-mod-morph";
label = "amps_kp_n5";
#binding-cells = <0>;
bindings = <&kp AMPS>, <&kp KP_N5>;
mods = <(MOD_LGUI|MOD_LSFT|MOD_RGUI|MOD_RSFT)>;
};
ekp_n6: equal_kp_n6 {
compatible = "zmk,behavior-mod-morph";
label = "equal_kp_n6";
#binding-cells = <0>;
bindings = <&kp EQUAL>, <&kp KP_N6>;
mods = <(MOD_LGUI|MOD_LSFT|MOD_RGUI|MOD_RSFT)>;
};
rkp_n7: right_parenthesis_kp_n7 {
compatible = "zmk,behavior-mod-morph";
label = "right_parenthesis_kp_n7";
#binding-cells = <0>;
bindings = <&kp RIGHT_PARENTHESIS>, <&kp KP_N7>;
mods = <(MOD_LGUI|MOD_LSFT|MOD_RGUI|MOD_RSFT)>;
};
rkp_n8: right_brace_kp_n8 {
compatible = "zmk,behavior-mod-morph";
label = "right_brace_kp_n8";
#binding-cells = <0>;
bindings = <&kp RIGHT_BRACE>, <&kp KP_N8>;
mods = <(MOD_LGUI|MOD_LSFT|MOD_RGUI|MOD_RSFT)>;
};
rkp_n9: right_bracket_kp_n9 {
compatible = "zmk,behavior-mod-morph";
label = "right_bracket_kp_n9";
#binding-cells = <0>;
bindings = <&kp RIGHT_BRACKET>, <&kp KP_N9>;
mods = <(MOD_LGUI|MOD_LSFT|MOD_RGUI|MOD_RSFT)>;
};
skp_n0: star_kp_n0 {
compatible = "zmk,behavior-mod-morph";
label = "star_kp_n0";
#binding-cells = <0>;
bindings = <&kp STAR>, <&kp KP_N0>;
mods = <(MOD_LGUI|MOD_LSFT|MOD_RGUI|MOD_RSFT)>;
};
eprcnt: excl_prcnt {
compatible = "zmk,behavior-mod-morph";
label = "excl_prcnt";
#binding-cells = <0>;
bindings = <&kp EXCL>, <&kp PRCNT>;
mods = <(MOD_LGUI|MOD_LSFT|MOD_RGUI|MOD_RSFT)>;
};
dgrave: dllr_grave {
compatible = "zmk,behavior-mod-morph";
label = "dllr_grave";
#binding-cells = <0>;
bindings = <&kp DLLR>, <&kp GRAVE>;
mods = <(MOD_LGUI|MOD_LSFT|MOD_RGUI|MOD_RSFT)>;
};
ggrave: grave_grave {
compatible = "zmk,behavior-mod-morph";
label = "grave_grave";
#binding-cells = <0>;
bindings = <&kp GRAVE>, <&kp GRAVE>;
mods = <(MOD_LGUI|MOD_LSFT|MOD_RGUI|MOD_RSFT)>;
};
bhash: bslh_hash {
compatible = "zmk,behavior-mod-morph";
label = "bslh_hash";
#binding-cells = <0>;
bindings = <&kp BSLH>, <&kp HASH>;
mods = <(MOD_LGUI|MOD_LSFT|MOD_RGUI|MOD_RSFT)>;
};
acaret: at_caret {
compatible = "zmk,behavior-mod-morph";
label = "at_caret";
#binding-cells = <0>;
bindings = <&kp AT>, <&kp CARET>;
mods = <(MOD_LGUI|MOD_LSFT|MOD_RGUI|MOD_RSFT)>;
};
};
keymap {
compatible = "zmk,keymap";
default_layer {
bindings = <
&kp EQUAL &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &tog 4 &mo 3 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp MINUS
&kp TAB &kp Q &kp W &kp E &kp R &kp T &none ¯o_kinesis &kp Y &kp U &kp I &kp O &kp P &kp BSLH
&kp ESC &kp A &kp S &kp D &kp F &kp G &none &kp LCTRL &kp LALT &kp LGUI &kp RCTRL &none &kp H &kp J &kp K &kp L &kp SEMI &kp SQT
&kp LSHFT &kp Z &kp X &kp C &kp V &kp B &none &none &kp HOME &none &none &kp PG_UP &none &none &kp N &kp M &kp COMMA &kp DOT &kp FSLH &kp RSHFT
&mo 2 &kp GRAVE &kp CAPS &kp LEFT &kp RIGHT &kp BKSP &kp DEL &kp END &kp PG_DN &kp ENTER &kp SPACE &kp UP &kp DOWN &kp LBKT &kp RBKT &mo 2
>;
};
keypad {
bindings = <
&kp EQUAL &kp N2 &kp N1 &kp N3 &kp N4 &kp N5 &trans &mo 3 &kp N6 &kp KP_NUM &kp KP_EQUAL &kp KP_DIVIDE &kp KP_MULTIPLY &kp MINUS
&kp TAB &kp Q &kp W &kp E &kp R &kp T &none &none &kp Y &kp KP_N7 &kp KP_N8 &kp KP_N9 &kp KP_MINUS &kp BSLH
&kp ESC &kp A &kp S &kp D &kp F &kp G &none &kp LCTRL &kp LALT &kp LGUI &kp RCTRL &none &kp H &kp KP_N4 &kp KP_N5 &kp KP_N6 &kp KP_PLUS &kp SQT
&kp LSHFT &kp Z &kp X &kp C &kp V &kp B &none &none &kp HOME &none &none &kp PG_UP &none &none &kp N &kp KP_N1 &kp KP_N2 &kp KP_N3 &kp KP_ENTER &kp RSHFT
&mo 2 &kp GRAVE &kp CAPS &kp LEFT &kp RIGHT &kp BKSP &kp DEL &kp END &kp PG_DN &kp ENTER &kp KP_N0 &kp UP &kp DOWN &kp KP_DOT &kp RBKT &mo 2
>;
};
fn {
bindings = <
&kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &tog 1 &mo 3 &kp F7 &kp F8 &kp F9 &kp F10 &kp F11 &kp F12
&trans &trans &trans &trans &trans &trans &none &none &trans &trans &trans &trans &trans &trans
&trans &trans &trans &trans &trans &trans &none &trans &trans &trans &trans &none &trans &trans &trans &trans &trans &trans
&trans &trans &trans &trans &trans &trans &none &none &trans &none &none &trans &none &none &trans &trans &trans &trans &trans &trans
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
>;
};
mod {
bindings = <
&none &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &none &trans &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &none
&none &none &none &none &none &none &bootloader &bootloader &none &none &none &none &none &none
&none &none &none &none &none &none &rgb_ug RGB_MEFS_CMD 5 &bt BT_CLR &bt BT_CLR &bt BT_CLR &bt BT_CLR &rgb_ug RGB_MEFS_CMD 5 &none &none &none &none &none &none
&none &none &none &none &none &none &none &none &none &none &none &none &none &none &none &none &none &none &none &none
&none &none &none &bl BL_INC &bl BL_DEC &rgb_ug RGB_TOG &bl BL_TOG &none &none &bl BL_TOG &rgb_ug RGB_TOG &bl BL_INC &bl BL_DEC &none &none &none
>;
};
prime_layer {
bindings = <
&ppipe &pkp_n1 &lkp_n2 &lkp_n3 &lkp_n4 &akp_n5 &tog 4 &mo 3 &ekp_n6 &rkp_n7 &rkp_n8 &rkp_n9 &skp_n0 &eprcnt
&kp TAB &kp SEMI &kp COMMA &kp DOT &kp P &kp Y &none ¯o_kinesis &kp F &kp G &kp C &kp R &kp L &bhash
&kp ESC &kp A &kp O &kp E &kp U &kp I &none &kp LCTRL &kp LALT &kp LGUI &kp RCTRL &none &kp D &kp H &kp T &kp N &kp S &kp MINUS
&kp LSHFT &kp APOS &kp Q &kp J &kp K &kp X &none &none &kp HOME &none &none &kp PG_UP &none &none &kp B &kp M &kp W &kp V &kp Z &kp RSHFT
&mo 2 &dgrave &ggrave &kp LEFT &kp RIGHT &kp BKSP &kp DEL &kp END &kp PG_DN &kp ENTER &kp SPACE &kp UP &kp DOWN &kp FSLH &acaret &mo 2
>;
};
};
};