summaryrefslogtreecommitdiffstats
path: root/lib/python/qmk/cli/generate/config_h.py
Commit message (Collapse)AuthorAgeFilesLines
* Avoid generating empty ENCODER_RESOLUTION (#20179)Joel Challis2023-04-071-1/+3
|
* Fix MATRIX_COLS and MATRIX_ROWS generation for custom matrix (#19508)Sergey Vlasov2023-01-051-1/+1
| | | | | | The code which generated the MATRIX_COLS and MATRIX_ROWS defines from the JSON information was checking the presence of the `matrix_pins` key, which may not exist if a custom matrix is used. Check the presence of `matrix_size` instead.
* Revert "Add pointing device support to data driven config (#18215)" (#19063)Drashna Jaelre2022-11-151-13/+0
|
* Add pointing device support to data driven config (#18215)Drashna Jaelre2022-11-141-0/+13
| | | Co-authored-by: Joel Challis <git@zvecr.com>
* Format DD mappings and schemas (#18924)Ryan2022-11-081-1/+1
|
* Add converter support to keymap.json (#18776)Joel Challis2022-10-201-1/+1
|
* Build correctly when out of tree (#18775)Joel Challis2022-10-191-9/+15
|
* Generate DD RGBLight/LED/RGB Matrix animation defines (#18459)Ryan2022-09-261-0/+15
|
* Normalise info_config.h define generation (#18439)Ryan2022-09-211-83/+31
| | | | | | | | | | | | | * Normalise info_config.h define generation * format * Fix tests * Update lib/python/qmk/cli/generate/config_h.py Co-authored-by: Nick Brassel <nick@tzarc.org> Co-authored-by: Nick Brassel <nick@tzarc.org>
* Handle escaping of manufacturer/product strings (#18194)Ryan2022-08-281-1/+2
|
* More DD encoder fixes (#17615)Joel Challis2022-07-111-3/+5
|
* Fix rgbkb/sol/rev2 build issues (#17601)Joel Challis2022-07-081-3/+8
|
* Allow encoder config from info.json (#17295)Joel Challis2022-06-201-0/+29
|
* Implement XAP 'secure' core requirements (#16843)Joel Challis2022-04-161-1/+6
| | | | Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Stefan Kerkmann <karlk90@pm.me>
* Extend 'qmk info' to handle keymap level overrides (#16702)Joel Challis2022-03-211-7/+3
|
* Merge remote-tracking branch 'origin/master' into developzvecr2022-03-181-14/+4
|\
| * [CLI] Add common util for dumping generated content (#16674)Joel Challis2022-03-181-14/+4
| |
* | Change data driven "str" type to represent a quoted string literal (#16516)Ryan2022-03-041-2/+7
|/ | | | | * Change data driven "str" type to represent a quoted string literal * Update docs
* Fix issues with data driven split keyboards (#16457)Joel Challis2022-02-271-16/+20
|
* CLI: Parse USB device version BCD (#14580)Ryan2022-01-171-0/+6
| | | | | * CLI: Parse USB device version BCD * Apply suggestions
* Cleanup issues identified by lgtm (#14459)Zach White2021-09-271-1/+1
| | | | | * cleanup issues identified by lgtm * fix the git_status check
* Add config.h and rules.mk support for data driven keymaps (#12859)Joel Challis2021-08-181-16/+13
| | | | | | | | | | | * 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
* Add a lot more data to info.json (#13366)Zach White2021-08-161-46/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add some split data to info.json * add tags * add half of config_options.md to info.json * add support for designating master split * sort out split transport and primary * fix bad data in UNUSED_PINS * fixup custom transport * wip * allow for setting split right half keyboard matrix * add SPLIT_USB_DETECT * minor cleanup * fix an erroneous message * rework split.usb_detect * adding missing rgblight vars to info.json * add mouse_key to info.json * add all remaining options from docs/config_options.md * fix audio voices * qmk info: Change text output to use dotted notation * tweak layout output * resolve alias names * break out some functions to make flake8 happy * add a field for bootloader instructions * qmk generate-info-json: add a write-to-file argument Adds an argument that instructs qmk generate-info-json to write the output to a file instead of just to the terminal. * -arg_only, +action Because it was never my intention that one would have to specify a value for the argument that enables writing the file. * Bring qmk generate-info-json inline with other generate commands * pytest fixup * fix esca/getawayvan * fix data driven errors for bpiphany converters * features.force_nkro -> usb.force_nkro * split.primary->split.main * fix esca/getawayvan_f042 * fix the bpiphany converters for real * fix bpiphany/tiger_lily * Apply suggestions from code review Co-authored-by: Nick Brassel <nick@tzarc.org> * fix generate-api errors * fix matrix pin extraction for split boards * fix ploopyco/trackball_nano/rev1_001 Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com> Co-authored-by: Nick Brassel <nick@tzarc.org>
* Add support for tab completion (#12411)Zach White2021-04-141-2/+2
| | | | | | | * Add support for tab completion * make flake8 happy * Add documentation
* Add support for qmk_configurator style aliases (#11954)Zach White2021-03-241-3/+5
| | | | | | | | | * Add support for qmk_configurator style aliases * add the keyboard aliases to the api data * add support for a keyboard metadata file * make flake8 happy
* Fix generated file output while target exists (#12062)Joel Challis2021-02-281-2/+2
|
* Create a system to map between info.json and config.h/rules.mk (#11548)Zach White2021-01-311-185/+60
| | | | | | | | | | | | | | | | | | | | | | | | | * generate rules.mk from a json mapping * generate rules.mk from a json mapping * support for config.h from json maps * improve the mapping system * document the mapping system * move data/maps to data/mappings * fix flake8 errors * fixup LED_MATRIX_DRIVER * remove product and description from the vision_division keymap level * reduce the complexity of generate-rules-mk * add tests for the generate commands * fix qmk doctor when submodules are not clean
* fix bugs triggered by certain boardsZach White2021-01-081-3/+3
|
* fix rgblight propertiesZach White2021-01-071-3/+3
|
* fix keyboards with apostrophes in their namesZach White2021-01-031-2/+2
|
* Fix compiling on develop (#11409)Zach White2021-01-021-2/+2
|
* Configure keyboard matrix from info.json (#10817)Zach White2020-12-301-0/+277
* Make parameters from info.json available to the build system * move all clueboard settings to info.json * code formatting * make flake8 happy * make flake8 happy * make qmk lint happy * Add support for specifying led indicators in json * move led indicators to the clueboard info.json * Apply suggestions from code review Co-authored-by: Erovia <Erovia@users.noreply.github.com> * add missing docstring Co-authored-by: Erovia <Erovia@users.noreply.github.com>