ergogen/config/regular.yaml

56 lines
1.4 KiB
YAML
Raw Normal View History

2020-05-30 15:17:53 +02:00
zones:
matrix:
anchor:
angle: 5
columns:
- name: pinky
rotate: -5
origin: [7, -7]
- name: ring
stagger: 12
- name: middle
stagger: 5
- name: index
stagger: -6
- name: inner
stagger: -2
rows:
- name: bottom
- name: home
- name: top
thumbfan:
anchor:
2020-05-28 22:18:41 +02:00
ref: inner_bottom
2020-05-29 22:35:49 +02:00
shift: [-7, -19]
2020-05-30 15:17:53 +02:00
columns:
- name: near
column_wire: ring
padding: 21.25
rotate: -28
origin: [9.5, -9]
- name: home
column_wire: middle
padding: 21.25
rotate: -28
origin: [11.75, -9]
- name: far
column_wire: index
rows:
- name: thumb
angle: -20
2020-06-07 13:40:26 +02:00
mirror:
2020-05-30 15:17:53 +02:00
ref: pinky_bottom
# 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.
#
# Since the new origin is the center of the pinky bottom, we have to convert
# the old, round 250 width to this new coordinate system if we want backward
# compatibility. The following snippet was used to arrive at 233.5881016.
#
# old_origin = new Point(7, 7)
# old_origin.rotate(5, [14, 0])
# old_origin.rotate(-20, [0, 0])
# new_width = 250 - (2 * old_origin.x)
distance: 233.5881016