Where did this app source the key layouts? #353
Replies: 2 comments 1 reply
-
|
The code in the repo is much older than the deployed app. A version of the rendering still exists in app/src/Keyboard/KeyboardLayout.js, and some of the rendering code was pulled out and migrated to keymap-layout-tools. That repo contains a stanalone library for working with layouts (parsing/rendering) and a helper app for editing layouts. When keymap-editor can't find a layout in |
Beta Was this translation helpful? Give feedback.
-
|
Wow thanks for the quick reply. I have a few follow up questions. For context, I am planning on making a overlay app that display the zmk key layout on screen, to help with learning and experimenting with layout easier.
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello @nickcoutsos, I'm looking to do a project relating to zmk keyboards, and I need to render a keyboard similar to what you did.
Im wondering how your program the user's keyboard layout when given the repo link?
When reading the source code in this repo, it is fetching for
config/info.jsonandconfig/keymap.json, however firmware repo isn't structure like this. For example I have a Sofle keyboard, so I would haveconfig/sofle.json(layout),config/sofle.keymap(keymap). Is the hosted api not the same as the api code in this repo perhaps?Also, when the user's repo doesn't contain a
config/<kbname>.jsonfile, the program can still load the layout. Is there a backup source for the keymap?Any pointers would be much appreciated!
Beta Was this translation helpful? Give feedback.
All reactions