forked from soundmonster/samoklava
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yaml
148 lines (145 loc) · 3.2 KB
/
config.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
units:
# Proxy Spacing Variable
kx: cx
ky: cy
# Padding Variables
px: kx + 4
py: ky + 4
points:
zones:
matrix:
anchor:
shift: [100, -200]
key:
padding: 1ky
spread: 1kx
columns:
lmacro:
key.column_net: P1
rows.mod.skip: true
louter:
key.column_net: P0
rows.mod.skip: true
lpinky:
key.column_net: P2
rows.mod.skip: true
lring:
key.column_net: P3
rows.mod.skip: true
lmiddle:
key.column_net: P21
lindex:
key.column_net: P20
linner:
key.column_net: P19
rinner:
key.column_net: P18
rows.function.skip: true
rows.num.skip: true
rindex:
key.column_net: P15
rows.function.skip: true
rows.num.skip: true
rmiddle:
key.column_net: P14
rows.function.skip: true
rows.num.skip: true
rring:
key.column_net: P16
rows.function.skip: true
rows.num.skip: true
rows.mod.skip: true
rpinky:
key.column_net: P10
rows.function.skip: true
rows.num.skip: true
rows.mod.skip: true
rows:
mod:
row_net: P9
bottom:
row_net: P8
home:
row_net: P7
top:
row_net: P6
num:
row_net: P5
function:
row_net: P4
outlines:
raw:
- what: rectangle
where: true
size: [px, py]
keys:
- what: rectangle
where: true
size: [kx-0.5,ky-0.5]
board:
- what: polygon
operation: stack
fillet: 2
points:
- ref: matrix_lmacro_function
shift: [-0.5px,1py]
- ref: matrix_linner_function
shift: [2px,1py]
- ref: matrix_linner_top
shift: [2px,0.5py]
- ref: matrix_rpinky_top
shift: [0.5px,0.5py]
- ref: matrix_rpinky_bottom
shift: [0.5px,-1.3py]
- ref: matrix_rindex_mod
shift: [0.5px,-0.5py]
- ref: matrix_rinner_mod
shift: [0.5px,-0.5py]
- ref: matrix_linner_mod
shift: [0.5px,-0.5py]
- ref: matrix_lmacro_bottom
shift: [-0.5px,-1.3py]
combo:
- name: board
- operation: subtract
name: keys
pcbs:
tutorial:
outlines:
main:
outline: board
footprints:
choc_hotswap:
what: choc
where: true
params:
keycaps: true
reverse: false
hotswap: true
from: "{{column_net}}"
to: "{{colrow}}"
diode:
what: diode
where: true
params:
from: "{{colrow}}"
to: "{{row_net}}"
adjust:
shift: [0,-5]
promicro:
what: promicro
params:
orientation: "up"
where:
ref: matrix_rinner_top
shift: [12,37.25]
rotate: -90
reset:
what: button
params:
from: GND
to: RST
where:
ref: matrix_rinner_top
shift: [-5,20.5]
rotate: -90