group diodes together

This commit is contained in:
daniel
2023-07-16 15:25:12 +02:00
parent 6bff5feb6a
commit 4454494456

View File

@@ -25,9 +25,11 @@ points:
columns: columns:
outer2: outer2:
rows: rows:
mod.skip: true mod:
skip: true
bottom.skip: true bottom.skip: true
home: home:
tags: [switch_top]
bind: [0, 5, 0, 0] bind: [0, 5, 0, 0]
row_net: col0 row_net: col0
top.skip: true top.skip: true
@@ -76,14 +78,19 @@ points:
rows: rows:
mod: mod:
row_net: col4 row_net: col4
tags: [switch_bottom]
bottom: bottom:
row_net: col3 row_net: col3
tags: [switch_top]
home: home:
row_net: col2 row_net: col2
tags: [switch_bottom]
top: top:
row_net: col1 row_net: col1
tags: [switch_top]
num: num:
row_net: col0 row_net: col0
tags: [switch_bottom]
thumbs: thumbs:
anchor: anchor:
ref: matrix_middle_home ref: matrix_middle_home
@@ -184,7 +191,7 @@ pcbs:
footprints: footprints:
choc_hotswap: choc_hotswap:
what: choc what: choc
where: [switch, switch_space] where: [switch, switch_space, switch_bottom, switch_top]
params: params:
keycaps: true keycaps: true
reverse: true reverse: true
@@ -193,15 +200,24 @@ pcbs:
to: "{{colrow}}" to: "{{colrow}}"
adjust: adjust:
rotate: 180 rotate: 180
diode: diode_bottom:
what: diode what: diode
where: [switch] where: [switch, switch_bottom]
params: params:
from: "{{colrow}}" from: "{{colrow}}"
to: "{{row_net}}" to: "{{row_net}}"
adjust: adjust:
rotate: 0 rotate: 0
shift: [0, -9] shift: [0, -9]
diode_top:
what: diode
where: [switch_top]
params:
from: "{{colrow}}"
to: "{{row_net}}"
adjust:
rotate: 0
shift: [0, 5.7]
diode_space: diode_space:
what: diode what: diode
where: [switch_space] where: [switch_space]
@@ -211,7 +227,7 @@ pcbs:
adjust: adjust:
rotate: -90 rotate: -90
# 8.275 is exactly above the pad # 8.275 is exactly above the pad
shift: [-8.275, 1] shift: [8.275, 1]
scrollwheel: scrollwheel:
what: scrollwheel_mirrored what: scrollwheel_mirrored
where: [scrollwheel] where: [scrollwheel]