-
Notifications
You must be signed in to change notification settings - Fork 41
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
JSON/keymap changes in latest QMK for kint41 et al #76
Comments
I’m not sure — I haven’t really followed QMK development closely over the last few months. In general, you will have the best chances for a good reply if you post this question at the QMK support channels. |
This turned into a case of scratching my own itch... but in the hope that it will help someone else in the same situation, where one has a complex, multi-layer keymap that they want to port to the latest version of QMK, I'm attaching the correspondence between the old and new layout. The file has three columns, position in old layout, position in new layout, key code from default keymap. The following python script will take the keymap conversion file and apply it to a json file given as input. I'm happy to develop this further, submit a PR with the little script or whatever else is useful, if there is interest. Thanks again for all your work on this project, it's been a lifesaver for my hands in more ways than one. |
Thanks so much for the script @afonsoguerra ! Nice time saver even for my single layer layout. |
@afonsoguerra, I'm interested. The above issue on the QMK_Configurator project is mine. I tried to get this working with my JSON. This is a Kinesis Advantage2 with hardware I get this error.
All the defined layers have 86 entries, the undefined layers just are QMK Kinesis Layer Theory
|
Hey @conceptual-perception, I’ll be very happy to help you out, but I’m all over the place for a few days. Maybe next week (early March?). I just read it again and I understand, you just want the script to ignore the empty layers? |
P.S. - The quick fix would just paste 86 “KC_TRANS”, in the empty layers in your original JSON :) |
Hi all,
Maybe I'm missing something obvious, but I just tried importing my old, tried and tested keymap JSON files to the qmk config website and it's now all over the place. I then changed the old keymap.c file I had by hand and reflashed the keyboard (also with the latest qmk) and ... it didn't go well. After a bit of github digging, it seems that the keymap layout for these keyboards changed recently (qmk/qmk_configurator#1312).
Does anyone have knowledge or a suggestion on how to port a JSON or c keymap (I know both are interchangeable) to the new layout arrangement? I would rather not have to reconfigure my 5 layers by hand if I can avoid it.
Thanks for any help!
The text was updated successfully, but these errors were encountered: