1
0
Fork 0

[Keyboard] Signum3.0 generate json keymap (#5688)

* Remove dependency on sortedcontainers

* Sort dictionary on output

* Externalize writing of keymap.c into function

- serialize layers into one flat list

* Add encoding

* Generate JSON keymap in addition to keymap.c

* Replace XXXXXX with KC_NO
This commit is contained in:
Jan Christoph Ebersbach 2019-05-01 06:53:29 +02:00 committed by Drashna Jaelre
parent 670ff2d19f
commit 074be4fe5e
4 changed files with 125 additions and 88 deletions

View file

@ -20,4 +20,5 @@ starting point to create your own layouts for the Signum 3.0 with
- Attention 2: additional C functions need to be put into
`km_template.txt`
Run `./generate_km.py` to regenerate `keymap.c`.
Run `./generate_km.py` to regenerate `keymap.c` and the JSON keymap
definition that should be copied to `qmk_configurator/public/keymaps`.