Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transpose KLE JSON to be row-wise #112

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

UncleCJ
Copy link

@UncleCJ UncleCJ commented Jul 30, 2022

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.

@UncleCJ UncleCJ marked this pull request as draft August 1, 2022 13:25
@UncleCJ UncleCJ force-pushed the wrangle_kle branch 2 times, most recently from 4a00b6e to f8cbe88 Compare August 3, 2022 14:21
UncleCJ and others added 6 commits September 25, 2022 13:06
Except for the font size of `Paste` and some others (not present in the rendered image) and removal of trailing slash in URL (a matter of taste) these are intended to be functionally neutral. Partly I suggest these as simplifications, but mainly because they align with the following commit transposing the data
These image references were broken

For information, you can use advanced Git features to locate things like
these:

    git log --author manna -p -S data/logos
    git grep master/manna-harbour-boa
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](https://github.com/ijprest/keyboard-layout-editor/wiki/Serialized-Data-Format))
render a stateful/relative source (in order to reduce redunant parameters
such as "render the next key") into a stateless/absolute result, in
particular complicating the order of rotations and font properties.

WIP: Transpose other KLE diagrams, starting with Base Layer

WIP: Transpose Button layer

WIP: Features layer

WIP: Functions layer

WIP: Add missing AltGr

This corresponds to qmk/qmk_firmware#7426
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant