-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
satpad.yml
executable file
·278 lines (273 loc) · 5.35 KB
/
satpad.yml
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
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
units:
h: cy
w: cx
mount_offset: .5h - .75
mounting:
mount1:
type: m2
params.size: 2.8
anchor:
ref:
- matrix_pinky_top
# - matrix_ring_top
shift: [-.5w + .75, mount_offset]
mount2:
type: m2
params.size: 2.8
anchor:
ref:
- matrix_pinky_bottom
shift: [-.5w + .75, -mount_offset]
mount3:
type: m2
params.size: 2.8
anchor:
ref:
- matrix_index_top
- matrix_inner_top
shift: [0, mount_offset]
mount4:
type: m2
params.size: 2.8
anchor:
ref:
- matrix_index_bottom
- matrix_inner_bottom
shift: [0, -mount_offset]
mount5:
type: m2
params.size: 2.8
anchor:
ref:
- mirror_matrix_pinky_top
shift: [.5w - .75, mount_offset]
mount6:
type: m2
params.size: 2.8
anchor:
ref:
- mirror_matrix_pinky_bottom
shift: [.5w - .75, -mount_offset]
mount7:
type: m2
params.size: 2.8
anchor:
ref:
- mirror_matrix_index_top
- mirror_matrix_inner_top
shift: [0, mount_offset]
mount8:
type: m2
params.size: 2.8
anchor:
ref:
- mirror_matrix_index_bottom
- mirror_matrix_inner_bottom
shift: [0, -mount_offset]
swaps:
diode:
footprints.diode.anchor.shift: [0, 8]
points:
mirror:
ref: matrix_inner_home
distance: 2w
zones:
matrix:
columns:
pinky:
key:
column_net: F4
ring:
spread: w
key:
column_net: F5
middle:
spread: w
key:
column_net: F6
index:
spread: w
key.column_net: F7
inner:
spread: w
key:
column_net: B1
rows:
bottom:
padding: h
row_net: B6
mirror.row_net: D4
home:
padding: h
row_net: B2
mirror.row_net: D2
top:
padding: h
row_net: B3
mirror.row_net: D3
key:
bind: 2
mirror:
footprints:
footprints:
choc:
type: choc
anchor:
nets:
from: =colrow
to: =column_net
params:
keycaps: true
diode:
type: diode
anchor:
shift: [ 0, -4.5 ]
nets:
from: =colrow
to: =row_net
params:
padSize: 1.2
tht: true
side: both
via: false
outlines:
exports:
raw:
- type: rectangle
size: [11w + 1.5,3h + 1.5]
anchor:
shift: [-.5w - .75, -.5h - .75]
corner: 2
panel:
- type: outline
name: raw
fillet: 0.5
switch_cutouts:
- type: keys
side: both
size: 14
bound: false
switch_plate:
main:
type: outline
name: panel
fillet: 0.5
keyholes:
type: outline
name: switch_cutouts
operation: subtract
backplate:
- type: outline
name: panel
pcbs:
backplate:
include_keys: false
outlines:
main:
outline: backplate
footprints:
$extends: mounting
plate:
include_keys: false
outlines:
main:
outline: switch_plate
footprints:
$extends: mounting
satpad:
outlines:
main:
outline: panel
footprints:
$extends:
- mounting
promicro:
type: promicro
anchor:
ref:
- matrix_inner_top
- mirror_matrix_inner_top
shift: [0,-10]
rotate: -90
params:
orientation: down
oled:
type: oled
anchor:
ref:
- matrix_inner_bottom
- mirror_matrix_inner_bottom
shift: [-6, 6]
rotate: 90
nets:
SDA: D1
SCL: D0
scrollwheel:
type: scrollwheel
anchor:
ref:
- matrix_inner_bottom
- mirror_matrix_inner_bottom
shift: [0, -1]
nets:
from: D7
to: E6
A: B4
B: B5
C: GND
D: ''
slider:
type: slider
anchor:
ref:
- matrix_inner_top
- mirror_matrix_inner_top
shift: [0, 7.25]
# rotate: 180
nets:
to: Bplus
from: BAT
params:
side: F
bat_plus:
type: pin
anchor:
ref:
- matrix_inner_top
- mirror_matrix_inner_top
shift: [-2.25, 2]
nets:
net: BAT
params:
shape: roundrect
bat_plus_silk:
type: text
anchor:
ref:
- matrix_inner_top
- mirror_matrix_inner_top
shift: [-2.25,0]
params:
text: '+'
side: 'B'
bat_minus:
type: pin
anchor:
ref:
- matrix_inner_top
- mirror_matrix_inner_top
shift: [2.25, 2]
nets:
net: Bminus
params:
shape: roundrect
bat_minus_silk:
type: text
anchor:
ref:
- matrix_inner_top
- mirror_matrix_inner_top
shift: [2.25,0]
params:
text: '-'
side: 'B'