manna-harbour / miryoku

Miryoku is an ergonomic, minimal, orthogonal, and universal keyboard layout.
2.64k stars 129 forks source link

Transpose KLE JSON to be row-wise #112

Open UncleCJ opened 2 years ago

UncleCJ commented 2 years ago

Low priority, should one want to continue illustrations based on KLE. This brings the data one step closer to generating from miryoku-babel.

It took quite some fiddling, and KLE will immediately re-align it again upon import or editing, but at least this is source data which is simpler to understand and edit raw.

KLE (as one quickly discover) render a stateful/relative source (in order to reduce redundant parameters such as "render the next key") into a stateless/absolute result, in particular complicating the order of rotations and font properties.

This would make keys the same order as, and align regular row-staggered layouts with this default, simplifying changes I care about, such as #106.