qmk_firmware/lib/python/qmk/tests
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
..
__init__.py
.gitignore CLI: update subcommands to use return instead of exit() (#10323) 2020-10-06 16:46:10 -07:00
attrdict.py Small CLI cleanups 2019-11-12 18:41:38 -08:00
kle.txt Add cli convert subcommand, from raw KLE to JSON (#6898) 2019-11-12 20:55:41 -08:00
minimal_info.json Map PRODUCT define to keyboard_name (#14372) 2021-11-05 08:08:52 +11:00
minimal_keymap.json Add a qmk format-json command that will format JSON files (#12372) 2021-03-25 22:38:10 +11:00
test_cli_commands.py Macros in JSON keymaps (#14374) 2021-11-22 11:11:35 -08:00
test_qmk_errors.py Add pep8-naming to our python linting 2019-12-01 13:40:14 -08:00
test_qmk_keymap.py Macros in JSON keymaps (#14374) 2021-11-22 11:11:35 -08:00
test_qmk_path.py Migrate python tests away from onekey (#11367) 2021-01-05 00:52:31 +00:00