qmk / qmk_firmware

Open-source keyboard firmware for Atmel AVR and Arm USB families
https://qmk.fm
GNU General Public License v2.0
18.28k stars 39.4k forks source link

How to get keymaps to show up on the QMK configurator #6891

Closed blu006 closed 2 years ago

blu006 commented 5 years ago

Hello,

I'm wondering if there is a way to get keymaps to show up by default on the QMK configurator. Mainly, I want to set a default keymap for the handwired/tritium_numpad keyboard's ortho_6x4 layout.

Could this have something to do with the /layouts folder in the repo?

Thanks, Brandon

yanfali commented 5 years ago

@blu006 this is unfortunately a hard problem, parsing arbitrary C with macros is a non-trivial task. @skullydazed is working on a JSON driven version of QMK that will make this much easier in the future and a lot of these keymaps could then be converted and would be accessible from configurator. But at this time it's not very easy to do consistently.

blu006 commented 5 years ago

Is there a way to do it manually for now? I'm more than willing to hand-translate my own keymaps until the automated JSON-driven QMK comes out.

yanfali commented 5 years ago

kind of, you can simply use the configurator to copy the keymap you like and export a JSON file. The new format will be the same for the upcoming change.

blu006 commented 5 years ago

So saving the configuration and then uploading it to the /layouts folder in the repo would make it show up in the configurator eventually?

yanfali commented 5 years ago

we don't currently support multiple keymaps per keyboard in the configurator at this time. You would need to store it locally. Eventually when everything is JSON driven it would be trivial to add that feature.

For now you'll just need to have a copy locally.

blu006 commented 5 years ago

Thanks for answering my questions. I guess I'll close this PR until then ;)

On Thu, Oct 3, 2019, 14:00 Yan-Fa Li notifications@github.com wrote:

we don't currently support multiple keymaps per keyboard in the configurator at this time. You would need to store it locally. Eventually when everything is JSON driven it would be trivial to add that feature.

For now you'll just need to have a copy locally.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/qmk/qmk_firmware/issues/6891?email_source=notifications&email_token=AAMCI3INNXZGLTU6RZGSXBTQMZMNTA5CNFSM4I5GMS62YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAJSQPY#issuecomment-538126399, or mute the thread https://github.com/notifications/unsubscribe-auth/AAMCI3JXPDERBUDITHLLCFLQMZMNTANCNFSM4I5GMS6Q .

danielo515 commented 4 years ago

If you use an ergodox I built a tool that allows you visualize your layout on a kind-of visual configurator: https://danielorodriguez.com/ergodox-configurator