forked from 0xcharly/zmk-config
-
Notifications
You must be signed in to change notification settings - Fork 7
/
split34_keymap_zmk.yaml
185 lines (184 loc) · 11.6 KB
/
split34_keymap_zmk.yaml
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
layout:
qmk_keyboard: bastardkb/dilemma/3x5_3
draw_config:
shrink_wide_legends: 0
svg_extra_style: |
rect.key { fill: #f6f8fa; stroke: #c9cccf; stroke-width: 1;}
rect.held, rect.combo.held { fill: #fdd;}
rect.ghost, rect.combo.ghost { fill: #ddd; stroke-dasharray: none; stroke-width: 1;}
rect.thumb, rect.combo.thumb { fill: #303030; stroke-width: 0;}
svg.keymap { background-color: #303030;}
text.label { stroke: none; fill: #e0f0f0;}
# specify the size to bound the vertical dimension of your glyph, below are defaults
glyph_tap_size: 15
glyph_hold_size: 14
glyph_shifted_size: 14
glyphs: # mapping of glyph name to be used to svg definition
bri_up: |
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-brightness-up" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
<path d="M12 12m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0"></path>
<path d="M12 5l0 -2"></path>
<path d="M17 7l1.4 -1.4"></path>
<path d="M19 12l2 0"></path>
<path d="M17 17l1.4 1.4"></path>
<path d="M12 19l0 2"></path>
<path d="M7 17l-1.4 1.4"></path>
<path d="M6 12l-2 0"></path>
<path d="M7 7l-1.4 -1.4"></path>
</svg>
bri_down: |
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-brightness-down" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
<path d="M12 12m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0"></path>
<path d="M12 5l0 .01"></path>
<path d="M17 7l0 .01"></path>
<path d="M19 12l0 .01"></path>
<path d="M17 17l0 .01"></path>
<path d="M12 19l0 .01"></path>
<path d="M7 17l0 .01"></path>
<path d="M5 12l0 .01"></path>
<path d="M7 7l0 .01"></path>
</svg>
vol_up: |
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-volume" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
<path d="M15 8a5 5 0 0 1 0 8"></path>
<path d="M17.7 5a9 9 0 0 1 0 14"></path>
<path d="M6 15h-2a1 1 0 0 1 -1 -1v-4a1 1 0 0 1 1 -1h2l3.5 -4.5a.8 .8 0 0 1 1.5 .5v14a.8 .8 0 0 1 -1.5 .5l-3.5 -4.5"></path>
</svg>
vol_down: |
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-volume-2" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
<path d="M15 8a5 5 0 0 1 0 8"></path>
<path d="M6 15h-2a1 1 0 0 1 -1 -1v-4a1 1 0 0 1 1 -1h2l3.5 -4.5a.8 .8 0 0 1 1.5 .5v14a.8 .8 0 0 1 -1.5 .5l-3.5 -4.5"></path>
</svg>
vol_mute: |
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-volume-off" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
<path d="M15 8a5 5 0 0 1 1.912 4.934m-1.377 2.602a5 5 0 0 1 -.535 .464"></path>
<path d="M17.7 5a9 9 0 0 1 2.362 11.086m-1.676 2.299a9 9 0 0 1 -.686 .615"></path>
<path d="M9.069 5.054l.431 -.554a.8 .8 0 0 1 1.5 .5v2m0 4v8a.8 .8 0 0 1 -1.5 .5l-3.5 -4.5h-2a1 1 0 0 1 -1 -1v-4a1 1 0 0 1 1 -1h2l1.294 -1.664"></path>
<path d="M3 3l18 18"></path>
</svg>
usb_icon: |
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-usb" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
<path d="M12 19m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"></path>
<path d="M12 17v-11.5"></path>
<path d="M7 10v3l5 3"></path>
<path d="M12 14.5l5 -2v-2.5"></path>
<path d="M16 10h2v-2h-2z"></path>
<path d="M7 9m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"></path>
<path d="M10 5.5h4l-2 -2.5z"></path>
</svg>
bt_icon: |
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-bluetooth" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
<path d="M7 8l10 8l-5 4l0 -16l5 4l-10 8"></path>
</svg>
screenshot: |
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-screenshot" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
<path d="M7 19a2 2 0 0 1 -2 -2"></path>
<path d="M5 13v-2"></path>
<path d="M5 7a2 2 0 0 1 2 -2"></path>
<path d="M11 5h2"></path>
<path d="M17 5a2 2 0 0 1 2 2"></path>
<path d="M19 11v2"></path>
<path d="M19 17v4"></path>
<path d="M21 19h-4"></path>
<path d="M13 19h-2"></path>
</svg>
sel_all: |
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-select-all" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
<path d="M8 8m0 1a1 1 0 0 1 1 -1h6a1 1 0 0 1 1 1v6a1 1 0 0 1 -1 1h-6a1 1 0 0 1 -1 -1z"></path>
<path d="M12 20v.01"></path>
<path d="M16 20v.01"></path>
<path d="M8 20v.01"></path>
<path d="M4 20v.01"></path>
<path d="M4 16v.01"></path>
<path d="M4 12v.01"></path>
<path d="M4 8v.01"></path>
<path d="M4 4v.01"></path>
<path d="M8 4v.01"></path>
<path d="M12 4v.01"></path>
<path d="M16 4v.01"></path>
<path d="M20 4v.01"></path>
<path d="M20 8v.01"></path>
<path d="M20 12v.01"></path>
<path d="M20 16v.01"></path>
<path d="M20 20v.01"></path>
</svg>
layers:
Aptmak:
- [V, W, F, P, B, J, L, U, Y, "'"]
- [R, S, T, H, K, X, N, A, I, O]
- [⟳ Repeat, C, G, D, Q, Z, M, ',', '.', ⟳ Repeat]
- [{t: '', type: thumb}, ␣ SPC, {t: NAV, h: MO}, {t: SYM, h: MO}, E, {t: '', type: thumb}]
Nav:
- [⭠🖳 Desk, ⎗ Prev Tab, ↹ TAB, ⎘ Next Tab, 🖳⭢ Desk, ⇞ PgUp, ⤒ Home, 🡅 Up, ⤓ End, ⌦ DEL]
- [{t: ⊞ LGUI, h: sticky}, {t: ⌥ LALT, h: sticky}, {t: ⎈ LCTRL, h: sticky}, {t: ⇧ LSHFT, h: sticky}, {t: Screen shot, s: $$screenshot$$}, ⇟ PgDn, 🡄 Left, 🡇 Down, 🡆 Right, ⮠ Enter]
- [⤺ Undo, ✂ Cut, ⧉ Copy, 📄 Paste, {t: Select all, s: $$sel_all$$}, {t: '', type: ghost}, ⌫ BSPC, {t: '', type: ghost}, {t: '', type: ghost}, {t: '', type: ghost}]
- [{t: '', type: thumb}, {t: SPEC, h: MO}, {t: '', type: held}, null, null, {t: '', type: thumb}]
Sym:
- [⎋ ESC, '%', '?', ':', '@', '^', ';', '(', ')', '~']
- ['!', '+', '-', '=', '#', '_', {t: ⇧ LSHFT, h: sticky}, {t: ⎈ LCTRL, h: sticky}, {t: ⌥ LALT, h: sticky}, {t: ⊞ LGUI, h: sticky}]
- ['~', '$', '*', '/', '&', '|', '\', '{', '}', '`']
- [{t: '', type: thumb}, null, null, {t: '', type: held}, {t: SPEC, h: MO}, {t: '', type: thumb}]
Num:
- ['/', 7, 8, 9, '*', {t: '', type: ghost}, '=', '<', '>', {t: '', type: ghost}]
- ['-', 4, 5, 6, '+', {t: '', type: ghost}, {t: ⇧ LSHFT, h: sticky}, {t: ⎈ LCTRL, h: sticky}, {t: ⌥ LALT, h: sticky}, {t: ⊞ LGUI, h: sticky}]
- ['.', 1, 2, 3, ',', {t: '', type: ghost}, 0, '[', ']', {t: '', type: ghost}]
- [{t: '', type: thumb}, null, {t: '', type: held}, {t: '', type: held}, null, {t: '', type: thumb}]
NumPad:
- ['/', 7, 8, 9, '*', '*', KP 7, KP 8, KP 9, '-']
- [{t: '-', h: LGUI}, {t: 4, h: LALT}, {t: 5, h: LCTRL}, {t: 6, h: LSHFT}, '+', '/', KP 4, KP 5, KP 6, '+']
- ['.', 1, 2, 3, 0, KP 0, KP 1, KP 2, KP 3, '.']
- [{t: '', type: thumb}, {t: '', type: held}, {t: '', type: held}, KP Enter, KP 0, {t: '.', type: thumb}]
F-keys:
- [F12, F7, F8, F9, 🄰 CapLk, ⇭ NumLk, ⎀ Insert, ⎙ PrtScr, ⇳ ScrLk, ⎊ Pause]
- [F11, F4, F5, F6, 𝌆 Menu, {t: '', type: ghost}, {t: ⇧ LSHFT, h: sticky}, {t: ⎈ LCTRL, h: sticky}, {t: ⌥ LALT, h: sticky}, {t: ⊞ LGUI, h: sticky}]
- [F10, F1, F2, F3, {t: '', type: ghost}, {t: '', type: ghost}, {t: '', type: ghost}, {t: '', type: ghost}, {t: '', type: ghost}, {t: '', type: ghost}]
- [{t: '', type: thumb}, null, null, {t: '', type: held}, {t: '', type: held}, {t: '', type: thumb}]
Spec:
- ['&boot', '&reset', '', '', {t: BASE, h: TO}, {t: OUT USB, s: $$usb_icon$$}, {t: OUT BLE, s: $$bt_icon$$}, '', '&reset', '&boot']
- ['', $$vol_mute$$, $$vol_down$$, $$vol_up$$, {t: APTHD, h: TO}, {t: CLEAR, s: $$bt_icon$$}, {t: BT 0, s: $$bt_icon$$}, {t: BT 1, s: $$bt_icon$$}, {t: BT 2, s: $$bt_icon$$}, {t: BT 3, s: $$bt_icon$$}]
- ['', ⏯, $$bri_down$$, $$bri_up$$, {t: GAME, h: TO}, '', '', '','', '']
- [{t: '', type: thumb}, '', '', '', '', {t: '', type: thumb}]
Game:
- [T, Q, W, E, R, Y, U, I, O, P]
- [LSHFT, A, S, D, F, H, J, K, L, "'"]
- [LCTRL, Z, X, C, V, N, M, ',', '.', Snipe Mode]
- [{t: '', type: thumb}, SPC, NAV, SYM, LSHFT, {t: '', type: thumb}]
combos:
- {p: [1, 2], k: V, l: [Aptmak]}
- {p: [3, 2], k: Q, l: [Aptmak]}
- {p: [22, 23], k: Z, l: [Aptmak]}
- {p: [7, 8], k: '"', l: [Aptmak, Game]}
- {p: [11, 12], k: "LSFT", l: [Aptmak]}
- {p: [17, 18], k: "RSFT", l: [Aptmak, Game]}
- {p: [31, 32], k: "NUM PAD", l: [Aptmak, NumPad, Game], a: top, o: -0.1, s: 0.25, h: 30}
- {p: [33, 34], k: "F keys", l: [Aptmak, F-keys, Game], a: top, o: -0.1, s: -0.25, h: 30}
- {p: [0, 1], k: "ESC", l: [Aptmak, Game], a: top, d: no, o: -0.45}
- {p: [28, 29], k: "Enter", l: [Aptmak, Game]}
- {p: [8, 9], k: "DEL", l: [Aptmak, Game], a: top, d: no, o: -0.45}
- {p: [26, 27], k: "BSPC", l: [Aptmak, Game]}
- {p: [27, 28], k: "Mouse 1", l: [Aptmak, Game]}
- {p: [18, 28], k: "Mouse 2", l: [Aptmak, Game]}
- {p: [16, 26], k: "Mouse 3", l: [Aptmak, Game]}
- {p: [25, 26], k: "Drag Scrl", l: [Aptmak, Game]}
- {p: [26, 28], k: "Del Word", l: [Aptmak, Game], a: bottom, h: 30}
- {p: [2, 7], k: "Caps Word", l: [Aptmak], w: 61, h: 18, a: top, o: -0.15}
- {p: [1, 8], k: "Caps Lock", l: [Aptmak], w: 61, h: 18, a: top, o: 0.57}
- {p: [1, 11], k: "[", l: [Aptmak], w: 20}
- {p: [2, 12], k: "(", l: [Aptmak], w: 20}
- {p: [3, 13], k: "{", l: [Aptmak], w: 20}
- {p: [4, 14], k: "<", l: [Aptmak], w: 20}
- {p: [5, 15], k: ">", l: [Aptmak], w: 20}
- {p: [6, 16], k: "}", l: [Aptmak], w: 20}
- {p: [7, 17], k: ")", l: [Aptmak], w: 20}
- {p: [8, 18], k: "]", l: [Aptmak], w: 20}
- {p: [4, 14], k: G, l: [Game]}
- {p: [14, 24], k: B, l: [Game]}