Skip to content

Instantly share code, notes, and snippets.

@christianselig
Created November 16, 2023 04:10
Show Gist options
  • Save christianselig/9d83b8380e00ac7234a2f22e44e86806 to your computer and use it in GitHub Desktop.
Save christianselig/9d83b8380e00ac7234a2f22e44e86806 to your computer and use it in GitHub Desktop.
Ergogen right split keyboard PCB config
right:
outlines:
main:
outline: board_right
footprints:
choc_hotswap:
what: choc
where: /^mirror_matrix_.*/
params:
keycaps: true
reverse: false
hotswap: true
from: "{{column_net}}"
to: "{{colrow}}"
adjust:
rotate: 180
diode_main:
what: diode
where: /^mirror_matrix_(?!(?:fourth_home|second_bottom|second_num|fifth_bottom|fifth_num|sixth_num)).*/
params:
from: "{{colrow}}"
to: "{{row_net}}"
adjust:
shift: [-7.8, -3.5]
rotate: 90
# Move some other diodes so they don't conflict with mounting holes
diode_mounting_hole_conflict:
what: diode
where: /^mirror_matrix_(?:fourth_home|second_bottom|second_num|fifth_bottom|fifth_num)/
params:
from: "{{colrow}}"
to: "{{row_net}}"
adjust:
shift: [-7.8, 2.0]
rotate: 90
diode_nano_conflict:
what: diode
where: mirror_matrix_sixth_num
params:
from: "{{colrow}}"
to: "{{row_net}}"
adjust:
shift: [-7.8, -1.0]
rotate: 90
nice_nano:
what: nice_nano
params:
orientation: up
where:
ref: mirror_matrix_sixth_num
shift: [-9, -1.5]
jstph:
what: jstph
where:
ref: mirror_matrix_fourth_home
shift: [-4, 6.0]
rotate: 90
params:
side: B
pos: pos
neg: GND
horizontal_reset:
what: EVQPUC
params:
side: B
from: GND
to: RST
where:
ref: mirror_matrix_sixth_top
shift: [9.0, 2.8]
rotate: -90.0
battery_switch:
what: slider
where:
ref: mirror_matrix_sixth_top
shift: [8.8, -12.0]
rotate: -90
params:
side: B
from: pos
to: RAW
# Mounting holes
hole_bottom_right:
what: mountinghole
where:
ref: mirror_matrix_fifth_mod
shift: [-pushX, pushY]
hole_bottom_left:
what: mountinghole
where:
ref: mirror_matrix_first_bottom
shift: [pushX, -pushY]
hole_top_left:
what: mountinghole
where:
ref: mirror_matrix_second_num
shift: [-pushX, -pushY]
hole_top_right:
what: mountinghole
where:
ref: mirror_matrix_fifth_top
shift: [-pushX, pushY]
hole_center:
what: mountinghole
where:
ref: mirror_matrix_third_bottom
shift: [pushX, pushY]
front_text: &text
what: text
where: &textWhere
ref: mirror_matrix_fourth_num
shift: [8.7, 5.5]
params: &textParams
text: Caldera
justify: left
h_size: 3.0
v_size: 3.0
thickness: 0.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment