You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
5 years ago
..
cli [CLI] Add c2json (#8817) 5 years ago
tests [CLI] Add c2json (#8817) 5 years ago
__init__.py
c_parse.py [CLI] Add a subcommand for getting information about a keyboard (#8666) 6 years ago
commands.py [CLI] Add c2json (#8817) 5 years ago
comment_remover.py [CLI] Add a subcommand for getting information about a keyboard (#8666) 6 years ago
constants.py Add logic for AT90USBxx7 where needed (#10203) 5 years ago
converter.py Add cli convert subcommand, from raw KLE to JSON (#6898) 6 years ago
decorators.py [CLI] Add a subcommand for getting information about a keyboard (#8666) 6 years ago
errors.py Small CLI cleanups 6 years ago
info.py Improve LAYOUT macro searching (#9530) 5 years ago
keyboard.py [CLI] Add a subcommand for getting information about a keyboard (#8666) 6 years ago
keymap.py [CLI] Add c2json (#8817) 5 years ago
makefile.py [CLI] Add a subcommand for getting information about a keyboard (#8666) 6 years ago
math.py [CLI] Add a subcommand for getting information about a keyboard (#8666) 6 years ago
path.py Fix running qmk info without any arguments (#9218) 6 years ago
questions.py Improve the functionality of qmk.questions (#8020) 6 years ago
submodules.py Beef up how `qmk doctor` works. (#7375) 6 years ago