ergogen/config/squished.yaml

72 lines
1.7 KiB
YAML
Raw Normal View History

2020-05-30 15:17:53 +02:00
zones:
matrix:
anchor:
angle: 5
columns:
- name: pinky
rotate: -5
2020-05-31 20:33:23 +02:00
origin: [7, -10]
2020-05-30 15:17:53 +02:00
- name: ring
stagger: 12
- name: middle
stagger: 5
- name: index
stagger: -6
padding: 16
- name: inner
stagger: -2
rows:
- name: bottom
padding: 16
- name: home
padding: 16
- name: top
thumbfan:
anchor:
ref: inner_bottom
shift: [-4, -22]
columns:
- name: wrong_near
padding: 21.25
rotate: -28
origin: [9.5, -9]
skip: yes
- name: home
column_wire: middle
rotate: -28
origin: [9.5, -9]
- name: far
column_wire: index
rows:
- name: thumb
thumbfan_reverse_pass:
anchor:
ref: home_thumb
reverse: yes
columns:
- name: home_again
rotate: 28
origin: [-9.5, -9]
skip: yes
- name: near
padding: 16
column_wire: ring
rows:
- name: thumb
angle: -20
mirror:
2020-05-31 20:33:23 +02:00
ref: pinky_home
2020-05-30 15:17:53 +02:00
# The mk1's origin was the bottom left corner of the bottom pinky key.
# But it later got rotated by the bottom *right* corner as the pinky angle
# and then rotated again for the inter-half angle so [0, 0] was nowhere on
# the actual result.
#
2020-05-31 20:33:23 +02:00
# Since the new origin is the center of the pinky home, we have to convert
2020-05-30 15:17:53 +02:00
# the old, round 250 width to this new coordinate system if we want backward
2020-05-31 20:33:23 +02:00
# compatibility. The following snippet was used to arrive at this distance.
2020-05-30 15:17:53 +02:00
#
2020-05-31 20:33:23 +02:00
# old_origin = new Point(7, 7 + 19)
2020-05-30 15:17:53 +02:00
# old_origin.rotate(5, [14, 0])
# old_origin.rotate(-20, [0, 0])
# new_width = 250 - (2 * old_origin.x)
2020-05-31 20:33:23 +02:00
distance: 223.7529778