-
Notifications
You must be signed in to change notification settings - Fork 0
/
chocolatte-v4.yaml
225 lines (214 loc) · 5.4 KB
/
chocolatte-v4.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
units:
kx: 18 # key x
ky: 17 # key y
pinky_stagger: 2
ring_stagger: 4
middle_stagger: 3
index_stagger: -2
inner_stagger: -2
thumbfan_x_offset: -15
thumbfan_y_offset: -20
thumbfan_splay: -20
thumbfan_stagger: thumbfan_splay/5
points:
key:
padding: cx
zones:
matrix:
columns:
outer:
rows:
top.bind: [9, 0, 0, 0]
pinky:
key.stagger: pinky_stagger
rows:
top.bind: [7, 0, 0, 0]
bottom.bind: [0, 0, 2, 0]
ring:
key.stagger: ring_stagger
rows:
top.bind: [3, 0, 0, 0]
bottom.bind: [0, 0, 6, 0]
middle:
key.stagger: middle_stagger
rows:
bottom.bind: [0, 0, 9, 0]
index:
key.stagger: index_stagger
rows:
top.bind: [2, 0, 0, 0]
inner:
key.stagger: inner_stagger
rows:
top.bind: [4, 0, 0, 0]
rows:
bottom:
home:
top:
thumbfan:
anchor:
ref: matrix_inner_bottom
shift: [thumbfan_x_offset, thumbfan_y_offset]
columns:
near:
home:
key.spread: cx+5
key.stagger: thumbfan_stagger
key.splay: thumbfan_splay
far:
key.spread: cx+5
key.stagger: thumbfan_stagger
key.splay: thumbfan_splay
rows:
thumb:
outlines:
_keys:
- what: rectangle
where: true
size: 14
bound: false
_keycaps:
- what: rectangle
corner: 2
where: true
size: [kx, ky]
bound: false
thumbfan:
- what: rectangle
adjust:
ref: thumbfan_far_thumb
rotate: 40
size: [kx+8, ky+8]
- what: rectangle
adjust:
ref: thumbfan_home_thumb
rotate: 20
size: [kx+8, ky+8]
combo:
- _keycaps
- thumbfan
- -_keycaps
board:
- what: polygon
operation: stack
points:
- ref: matrix_outer_top
shift: [-cx/1.5, cy/1.5]
- ref: matrix_middle_top
shift: [-cx/2, cy/1.5]
- ref: matrix_middle_top
shift: [cx/2, cy/1.5]
- ref: matrix_inner_top
shift: [45, cy/1.5]
- ref: thumbfan_far_thumb
shift: [15, 9]
- ref: thumbfan_far_thumb
shift: [0, -25]
- ref: thumbfan_near_thumb
shift: [-cx/2, -cy/1.5]
- ref: matrix_outer_bottom
shift: [-cx/1.5, -cy/1.5]
pcb_edgecut:
- name: board
fillet: 5
pcb_edgecut_keys:
- name: pcb_edgecut
- operation: subtract
name: _keycaps
cases:
chocolatte_plate:
- name: board
operation: add
extrude: 1
- name: _keys
operation: subtract
extrude: 3
#
# VIA footprints may be needed to jump between layers to avoid obstacles
# Use Blackpill controller to avoid having to leverage a diode matrix
# Potential for support MakerDiary m.2 bluetooth adapter https://wiki.makerdiary.com/nrf52840-m2
# USB-C Controller
# TRRS between halves
# Ability to make either halve master/slave pair
# Support for millmax hotswap sockets
# Support for Kailh hotswap sockets (default support in ergogen)
# Support for sk6812mini-e leds for easier soldering
# Support for Roller encoder, 1/side (EVQWGD001) (default support in ergogen)
# Support for Nice!View
# pcbs:
# cholatte:
# outlines:
# pcb_outline_name:
# outline: pcb_edgecut
# footprints:
# - type: rotary
# params:
# reverse: true
# anchor:
# - ref: matrix_inner_bottom
# shift: [20, -12]
# rotate: -30
# nets:
# to: undefined
# from: undefined
# A: undefined
# B: GND
# C: undefined
#
# - type: trrs
# anchor:
# - ref: matrix_inner_bottom
# shift: [32, 8]
# rotate: -90
# nets:
# A: GND
# B: GND
# C: D2
# D: VCC
#
# # - type: oled # 4 pin oled; need to find 5pin footprint
# # anchor:
# # - ref: matrix_inner_top
# # shift: [50, 0]
# # rotate: 90
# # nets:
# # SDA: undefined,
# # SCL: undefined,
# # VCC: undefined,
# # GND: undefined,
# #
# # - type: rgb
# # anchor:
# # - ref: matrix_inner_top
# # shift: [75, 0]
# # nets:
# # dout: undefined,
# # din: undefined
#
# - type: promicro
# anchor:
# - ref: matrix_inner_home
# shift: [20, 15.5]
# rotate: -90
# nets:
# P1: matrix_outer_bottom
# P2: matrix_outer_home
# P3: matrix_outer_top
# P4: matrix_pinky_bottom
# P5: matrix_pinky_home
# P6: matrix_pinky_top
# P7: matrix_ring_bottom
# P8: matrix_ring_home
# P9: matrix_ring_top
# P10: matrix_middle_bottom
# P11: matrix_middle_home
# P12: matrix_middle_top
# P13: matrix_index_bottom
# P14: matrix_index_home
# P15: matrix_index_top
# P16: matrix_inner_bottom
# P17: matrix_inner_home
# P18: matrix_inner_top
# P19: matrix_thumbfan_near
# P20: matrix_thumbfan_home
# P21: matrix_thumbfan_far