summaryrefslogtreecommitdiffstats
path: root/data/schemas/keymap.jsonschema
Commit message (Collapse)AuthorAgeFilesLines
* Clean up schema syntax (#18192)Ryan2022-08-281-1/+1
|
* Additional schema fixes (#17414)Joel Challis2022-06-181-3/+2
|
* CLI: Validate JSON keymap input (#16261)Erovia2022-02-281-1/+6
| | | | | | | | | | | | | | | | | | | | | * Fix schema validator It should use the passed schema. * Add required attributes to keymap schema * Rework subcommands to validate the JSON keymaps The 'compile', 'flash' and 'json2c' subcommands were reworked to add JSON keymap validation so error is reported for non-JSON and non-compliant-JSON inputs. * Fix required fields in keymap schema * Add tests * Fix compiling keymaps directly from keymap directory * Schema should not require version for now.
* Macros in JSON keymaps (#14374)Zach White2021-11-221-1/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Fix issues with recent keymap.json changes (#14089)Joel Challis2021-08-201-1/+1
| | | | | * Fix issues with recent keymap.json changes * Allow empty author string
* Add config.h and rules.mk support for data driven keymaps (#12859)Joel Challis2021-08-181-0/+24
* Add config.h and rules.mk support for data driven keymaps * tidy up after rebase * Rename key as it can contain more than just keyboard overrides * tidy up after rebase * Add validation