1
0
Fork 0
forked from forks/qmk_firmware
qmk_firmware/lib/python/qmk/cli
Zach White 08ce0142ba
Macros in JSON keymaps (#14374)
* macros in json keymaps

* add advanced macro support to json

* add a note about escaping macro strings

* add simple examples

* format json

* add support for language specific keymap extras

* switch to dictionaries instead of inline text for macros

* use SS_TAP on the innermost tap keycode

* add the new macro format to the schema

* document the macro limit

* add the json keyword for syntax highlighting

* fix format that vscode screwed up

* Update feature_macros.md

* add tests for macros

* change ding to beep

* add json support for SENDSTRING_BELL

* update doc based on feedback from sigprof

* document host_layout

* remove unused var

* improve carriage return handling

* support tab characters as well

* Update docs/feature_macros.md

Co-authored-by: Nick Brassel <nick@tzarc.org>

* escape backslash characters

* format

* flake8

* Update quantum/quantum_keycodes.h

Co-authored-by: Nick Brassel <nick@tzarc.org>
2021-11-22 11:11:35 -08:00
..
chibios Ensure that safe_commands always run (#13199) 2021-06-14 16:51:58 -07:00
doctor Merge remote-tracking branch 'origin/master' into develop 2021-09-27 17:03:42 +00:00
format Add diff logic to python format subcommand (#15156) 2021-11-17 23:02:45 +00:00
generate [cli] Export list of develop PRs to be merged into master (#13944) 2021-11-18 17:05:08 +00:00
list [CLI] list-keymaps/list-layouts: Check keyboard passed in (#15204) 2021-11-18 17:55:07 +00:00
new Refactor new-keyboard to be python3.7 compatible (#14707) 2021-11-05 08:14:43 +11:00
__init__.py [cli] Export list of develop PRs to be merged into master (#13944) 2021-11-18 17:05:08 +00:00
bux.py World domination (#13021) 2021-05-29 20:05:46 +01:00
c2json.py CLI/c2json: Print 'cpp' error when executed in verbose mode (#12869) 2021-05-27 17:42:38 +01:00
cd.py CLI: Add 'cd' subcommand (#12584) 2021-11-05 08:21:09 +11:00
cformat.py Move all our CLI file formatters to the format dir (#13296) 2021-07-20 11:52:14 -07:00
clean.py Align our subprocess usage with current best practices. (#12940) 2021-05-19 15:24:46 -07:00
compile.py --parallel improvements (#13800) 2021-08-18 08:46:59 +10:00
docs.py qmk docs: Run docsify serve if available (#15056) 2021-11-05 08:02:27 +11:00
fileformat.py Move all our CLI file formatters to the format dir (#13296) 2021-07-20 11:52:14 -07:00
flash.py Enable CLI flashing via mdloader (#14729) 2021-10-15 22:07:33 +01:00
hello.py CLI: Add development mode support 2020-04-08 09:31:14 -07:00
info.py Add a lot more data to info.json (#13366) 2021-08-16 23:33:30 +01:00
json2c.py Macros in JSON keymaps (#14374) 2021-11-22 11:11:35 -08:00
kle2json.py Remove references to info.json width and height in CLI (#13728) 2021-07-29 22:37:18 -07:00
lint.py fix automatic directory for qmk lint (#14215) 2021-08-28 23:02:31 -07:00
multibuild.py --parallel improvements (#13800) 2021-08-18 08:46:59 +10:00
pyformat.py Move all our CLI file formatters to the format dir (#13296) 2021-07-20 11:52:14 -07:00
pytest.py Remove bin/qmk (#14231) 2021-08-29 16:50:22 -07:00