qmk_firmware/lib/python/qmk
Erovia 058737f116
[CLI] Add c2json (#8817)
* Basic keymap parsing finally works

* Add 'keymap.json' creation to the qmk.keymap module

* Add tests and fix formatting

* Fix/exclude flake8 errors

* Convert keymap.c to valid keymap.json

* Fix some errors

* Add tests

* Finalize keymap.json creation, add json template

* Add docs

* Move pygments to the standard requirements

* Add support for nameless layers, fix tests

* Fix things after rebase

* Add missing 'keymap' value.

* Fix missing layer numbers from advanced keycodes

Buckwich noticed that if the advanced keycode / layer toggling key
contains a number, it goes missing.
Now we properly handle them.
Thx for noticing!

* Apply suggestions from code review

* fixup tests

Co-authored-by: Zach White <skullydazed@drpepper.org>
Co-authored-by: skullY <skullydazed@gmail.com>
2020-10-06 17:10:19 -07:00
..
cli [CLI] Add c2json (#8817) 2020-10-06 17:10:19 -07:00
tests [CLI] Add c2json (#8817) 2020-10-06 17:10:19 -07:00
__init__.py
c_parse.py
commands.py [CLI] Add c2json (#8817) 2020-10-06 17:10:19 -07:00
comment_remover.py
constants.py Add logic for AT90USBxx7 where needed (#10203) 2020-09-27 20:33:03 +10:00
converter.py
decorators.py
errors.py
info.py Improve LAYOUT macro searching (#9530) 2020-10-06 16:57:40 -07:00
keyboard.py
keymap.py [CLI] Add c2json (#8817) 2020-10-06 17:10:19 -07:00
makefile.py
math.py
path.py
questions.py
submodules.py