qmk-dactyl-manuform-a/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 QMK CLI and JSON keymap support (#6176) 2019-07-15 12:14:27 -07:00
c_parse.py [CLI] Add a subcommand for getting information about a keyboard (#8666) 2020-05-26 13:05:41 -07:00
commands.py [CLI] Add c2json (#8817) 2020-10-06 17:10:19 -07:00
comment_remover.py [CLI] Add a subcommand for getting information about a keyboard (#8666) 2020-05-26 13:05:41 -07:00
constants.py Add logic for AT90USBxx7 where needed (#10203) 2020-09-27 20:33:03 +10:00
converter.py Add cli convert subcommand, from raw KLE to JSON (#6898) 2019-11-12 20:55:41 -08:00
decorators.py [CLI] Add a subcommand for getting information about a keyboard (#8666) 2020-05-26 13:05:41 -07:00
errors.py Small CLI cleanups 2019-11-12 18:41:38 -08:00
info.py Improve LAYOUT macro searching (#9530) 2020-10-06 16:57:40 -07:00
keyboard.py [CLI] Add a subcommand for getting information about a keyboard (#8666) 2020-05-26 13:05:41 -07:00
keymap.py [CLI] Add c2json (#8817) 2020-10-06 17:10:19 -07:00
makefile.py [CLI] Add a subcommand for getting information about a keyboard (#8666) 2020-05-26 13:05:41 -07:00
math.py [CLI] Add a subcommand for getting information about a keyboard (#8666) 2020-05-26 13:05:41 -07:00
path.py Fix running qmk info without any arguments (#9218) 2020-05-27 09:43:22 +02:00
questions.py Improve the functionality of qmk.questions (#8020) 2020-02-03 09:04:58 -08:00
submodules.py Beef up how `qmk doctor` works. (#7375) 2020-01-24 20:31:16 +01:00