-
Notifications
You must be signed in to change notification settings - Fork 0
/
keyboard_layout.yaml
232 lines (228 loc) · 5.51 KB
/
keyboard_layout.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
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
units:
mm: 1
kx: cx
ky: cy
px: kx + 2
py: ky + 2
points:
zones:
matrix:
columns:
pinky:
key:
skip: false
column_net: D2
mirror.column_net: F4
rows:
bottom.skip: true
bottom_thumb.skip: true
ring:
key:
stagger: 14
column_net: D3
mirror.column_net: F5
rows:
bottom.column_net: D2
bottom.mirror.column_net: F4
bottom_thumb.skip: true
middle:
key:
stagger: 5
column_net: D4
mirror.column_net: F6
rows:
bottom.column_net: D3
bottom.mirror.column_net: F5
bottom_thumb.skip: true
index:
key:
stagger: -5
column_net: C6
mirror.column_net: F7
rows:
bottom.column_net: D4
bottom.mirror.column_net: F6
bottom_thumb.skip: true
inner:
key:
stagger: -6
column_net: D7
mirror.column_net: B1
rows:
bottom.column_net: C6
bottom.mirror.column_net: F7
bottom_thumb.skip: true
thumb:
key:
skip: true
stagger: 10
column_net: D7
mirror.column_net: B1
rows:
bottom.skip: false
bottom_thumb.skip: false
rows:
bottom_thumb:
row_net: B5
bottom:
row_net: E6
home:
row_net: B4
mid:
row_net: B2
top:
row_net: B3
num:
row_net: B6
rotate: -6.7
mirror:
ref: matrix_thumb_home
distance: 30
outlines:
raw:
- what: rectangle
where: true
size: [1.2cx, 1.2cy]
board:
- what: polygon
operation: stack
fillet: 2
points:
- ref: matrix_middle_top
shift: [-2.5px + 2, 1.6py]
- ref: matrix_middle_top
shift: [0.5px,1.6py]
- ref: matrix_inner_top
shift: [0.5px + 7.53, 2.0py]
- ref: matrix_inner_top
shift: [0.5px + 7.53, 2.0py]
- ref: mirror_matrix_inner_top
shift: [0.5px + 7.53, 2.0py]
- ref: mirror_matrix_inner_top
shift: [0.5px + 7.53, 2.0py]
- ref: mirror_matrix_middle_top
shift: [0.5px, 1.6py]
- ref: mirror_matrix_middle_top
shift: [-0.5px, 1.6py]
- ref: mirror_matrix_middle_top
shift: [-2.5px + 2, 1.6py]
- ref: mirror_matrix_thumb_bottom_thumb
shift: [-5.5px + 5,-0.5py]
- ref: mirror_matrix_thumb_bottom_thumb
shift: [-0.5px,-0.5py]
- ref: mirror_matrix_thumb_bottom_thumb
shift: [0.5px, -0.5py]
- ref: matrix_thumb_bottom_thumb
shift: [0.5px, -0.5py]
- ref: matrix_thumb_bottom_thumb
shift: [-0.5px, -0.5py]
- ref: matrix_thumb_bottom_thumb
shift: [-5.5px + 5,-0.5py]
pcb_cutout:
- what: outline
name: board
pcbs:
keyboard-design:
outlines:
main:
outline: pcb_cutout
footprints:
keys:
what: mx
where: true
params:
from: "{{colrow}}"
to: "{{column_net}}"
keycaps: true
mcu:
what: promicro
where:
shift: [116, 88]
rotate: 270
params:
orientation: up
diode:
what: diode
where: true
adjust:
rotate: 0
shift: [0, -4.5]
params:
from: "{{colrow}}"
to: "{{row_net}}"
oled:
what: oled
params:
side: "F"
SDA: D1
SCL: D0
adjust:
rotate: 270
where:
ref.aggregate.parts: [matrix_inner_top,mirror_matrix_inner_top]
shift: [1.6+0.58+3.81, -10+1.6+0.5]
holeOled1:
what: m3
where:
ref.aggregate.parts: [matrix_inner_top,mirror_matrix_inner_top]
shift: [-10.25, -10]
holeOled2:
what: m3
where:
ref.aggregate.parts: [matrix_inner_top,mirror_matrix_inner_top]
shift: [-10.25+20.5, -10]
holeOled3:
what: m3
where:
ref.aggregate.parts: [matrix_inner_top,mirror_matrix_inner_top]
shift: [-10.25, -10-23]
holeOled4:
what: m3
where:
ref.aggregate.parts: [matrix_inner_top,mirror_matrix_inner_top]
shift: [-10.25+20.5, -10-23]
hole1:
what: m3
where:
ref: [matrix_pinky_num]
shift: [-4.5, 23]
hole2:
what: m3
where:
ref: [matrix_inner_num]
shift: [-4.7, 14]
hole3:
what: m3
where:
ref: [mirror_matrix_inner_num]
shift: [-4.7, 14]
hole4:
what: m3
where:
ref: [mirror_matrix_pinky_num]
shift: [-4.5, 23]
hole5:
what: m3
where:
ref: [mirror_matrix_pinky_home]
shift: [-4.5, -23]
hole6:
what: m3
where:
ref: [mirror_matrix_index_bottom]
shift: [0, -17.45]
hole7:
what: m3
where:
ref: [mirror_matrix_thumb_bottom_thumb]
shift: [20, -2]
hole8:
what: m3
where:
ref: [matrix_index_bottom]
shift: [0, -17.45]
hole9:
what: m3
where:
ref: [matrix_pinky_home]
shift: [-4.5, -23]