mirror of
https://github.com/dnlbauer/corax-keyboard.git
synced 2026-09-10 21:25:29 +00:00
define row and column net for switches
This commit is contained in:
@@ -25,19 +25,22 @@ points:
|
|||||||
bottom.skip: true
|
bottom.skip: true
|
||||||
home:
|
home:
|
||||||
bind: [0, 5, 0, 0]
|
bind: [0, 5, 0, 0]
|
||||||
|
row_net: row0
|
||||||
top.skip: true
|
top.skip: true
|
||||||
num.skip: true
|
num.skip: true
|
||||||
|
key.column_net: col0
|
||||||
outer:
|
outer:
|
||||||
rows:
|
rows:
|
||||||
num.skip: true
|
num.skip: true
|
||||||
mod.skip: true
|
mod.skip: true
|
||||||
|
key.column_net: col0
|
||||||
pinky:
|
pinky:
|
||||||
rows:
|
rows:
|
||||||
mod.skip: true
|
mod.skip: true
|
||||||
key:
|
key:
|
||||||
splay: -5
|
splay: -5
|
||||||
|
|
||||||
origin: [0, 8]
|
origin: [0, 8]
|
||||||
|
column_net: col1
|
||||||
ring:
|
ring:
|
||||||
rows:
|
rows:
|
||||||
mod.skip: true
|
mod.skip: true
|
||||||
@@ -45,23 +48,38 @@ points:
|
|||||||
origin: [0, 8]
|
origin: [0, 8]
|
||||||
stagger: 0.33ky
|
stagger: 0.33ky
|
||||||
splay: -5
|
splay: -5
|
||||||
|
column_net: col2
|
||||||
middle:
|
middle:
|
||||||
key:
|
key:
|
||||||
stagger: 0.2ky
|
stagger: 0.2ky
|
||||||
|
column_net: col3
|
||||||
|
rows:
|
||||||
|
mod:
|
||||||
|
column_net: col1
|
||||||
index:
|
index:
|
||||||
key:
|
key:
|
||||||
stagger: -0.33ky
|
stagger: -0.33ky
|
||||||
|
column_net: col4
|
||||||
|
rows:
|
||||||
|
mod:
|
||||||
|
column_net: col2
|
||||||
inner:
|
inner:
|
||||||
rows:
|
rows:
|
||||||
mod.skip: true
|
mod.skip: true
|
||||||
key:
|
key:
|
||||||
stagger: -2.5
|
stagger: -2.5
|
||||||
|
column_net: col5
|
||||||
rows:
|
rows:
|
||||||
mod:
|
mod:
|
||||||
|
row_net: row4
|
||||||
bottom:
|
bottom:
|
||||||
|
row_net: row3
|
||||||
home:
|
home:
|
||||||
|
row_net: row2
|
||||||
top:
|
top:
|
||||||
|
row_net: row1
|
||||||
num:
|
num:
|
||||||
|
row_net: row0
|
||||||
thumbs:
|
thumbs:
|
||||||
anchor:
|
anchor:
|
||||||
ref: matrix_middle_home
|
ref: matrix_middle_home
|
||||||
@@ -72,14 +90,31 @@ points:
|
|||||||
spread: 1kx
|
spread: 1kx
|
||||||
columns:
|
columns:
|
||||||
layer:
|
layer:
|
||||||
key.splay: -15
|
key:
|
||||||
|
splay: -15
|
||||||
|
column_net: col3
|
||||||
space:
|
space:
|
||||||
key:
|
key:
|
||||||
width: 1.5kx
|
width: 1.5kx
|
||||||
splay: 75
|
splay: 75
|
||||||
shift: [13-kx, -3]
|
shift: [13-kx, -3]
|
||||||
|
column_net: col4
|
||||||
rows:
|
rows:
|
||||||
cluster:
|
cluster:
|
||||||
|
row_net: row4
|
||||||
|
scrollwheel:
|
||||||
|
anchor:
|
||||||
|
ref: matrix_inner_bottom
|
||||||
|
columns:
|
||||||
|
scrollwheel:
|
||||||
|
key:
|
||||||
|
tags: [switch,scrollwheel]
|
||||||
|
rotate: -15
|
||||||
|
shift: [px+padding, -3]
|
||||||
|
column_net: col5
|
||||||
|
rows:
|
||||||
|
scrollwheel:
|
||||||
|
row_net: row4
|
||||||
mcu:
|
mcu:
|
||||||
anchor:
|
anchor:
|
||||||
ref: matrix_inner_num
|
ref: matrix_inner_num
|
||||||
@@ -153,19 +188,34 @@ pcbs:
|
|||||||
keycaps: true
|
keycaps: true
|
||||||
reverse: true
|
reverse: true
|
||||||
hotswap: true
|
hotswap: true
|
||||||
from: =column_net
|
from: "{{column_net}}"
|
||||||
to: =colrow
|
to: "{{colrow}}"
|
||||||
diode:
|
diode:
|
||||||
# TODO diode without throughhole?
|
# TODO diode without throughhole?
|
||||||
what: diode
|
what: diode
|
||||||
where: switch
|
where: switch
|
||||||
params:
|
params:
|
||||||
from: =colrow
|
from: "{{colrow}}"
|
||||||
to: =column_net
|
to: "{{row_net}}"
|
||||||
adjust.shift: [0, -5]
|
adjust.shift: [0, -5]
|
||||||
promicro:
|
promicro:
|
||||||
what: promicro
|
what: promicro
|
||||||
where: mcu
|
where: mcu
|
||||||
params:
|
params:
|
||||||
# TODO decide if soldered on opposite side?
|
orientation: down
|
||||||
orientation: up
|
P1: CS
|
||||||
|
P2: SDA
|
||||||
|
P3: SCL
|
||||||
|
P5: row0
|
||||||
|
P6: row1
|
||||||
|
P7: row2
|
||||||
|
P8: row3
|
||||||
|
P9: row4
|
||||||
|
P21: ENCA
|
||||||
|
P20: ENCB
|
||||||
|
P19: col0
|
||||||
|
P18: col1
|
||||||
|
P15: col2
|
||||||
|
P14: col3
|
||||||
|
P16: col4
|
||||||
|
P10: col5
|
||||||
|
|||||||
Reference in New Issue
Block a user