qmk-firmware/lib/python/qmk
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
..
cli Macros in JSON keymaps (#14374) 2021-11-22 11:11:35 -08:00
tests Macros in JSON keymaps (#14374) 2021-11-22 11:11:35 -08:00
__init__.py QMK CLI and JSON keymap support (#6176) 2019-07-15 12:14:27 -07:00
c_parse.py Remove width, height and key_count from info.json (#14274) 2021-09-12 14:04:56 +10:00
commands.py Macros in JSON keymaps (#14374) 2021-11-22 11:11:35 -08: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 [Core] Add support for RISC-V builds and GD32VF103 MCU (#12508) 2021-10-18 16:23:20 +11:00
converter.py Add cli convert subcommand, from raw KLE to JSON (#6898) 2019-11-12 20:55:41 -08:00
datetime.py Generate api data on each push (#10609) 2020-10-25 14:48:44 -07:00
decorators.py CLI: Fix automagic (#13046) 2021-05-30 16:17:40 +01:00
errors.py CLI/c2json: Print 'cpp' error when executed in verbose mode (#12869) 2021-05-27 17:42:38 +01:00
info.py Merge remote-tracking branch 'upstream/master' into develop 2021-11-05 08:55:55 +11:00
json_encoders.py Remove references to info.json width and height in CLI (#13728) 2021-07-29 22:37:18 -07:00
json_schema.py Add a lot more data to info.json (#13366) 2021-08-16 23:33:30 +01:00
keyboard.py expand the size of the textpad to allow for taller keyboards (#13319) 2021-06-23 20:35:36 -07:00
keymap.py Macros in JSON keymaps (#14374) 2021-11-22 11:11:35 -08: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 Add support for qmk_configurator style aliases (#11954) 2021-03-24 09:26:38 -07:00
submodules.py Align our subprocess usage with current best practices. (#12940) 2021-05-19 15:24:46 -07:00