summaryrefslogtreecommitdiff
path: root/lib/python/qmk/cli/generate/config_h.py
AgeCommit message (Collapse)Author
2023-04-07Avoid generating empty ENCODER_RESOLUTION (#20179)Joel Challis
2023-01-05Fix MATRIX_COLS and MATRIX_ROWS generation for custom matrix (#19508)Sergey Vlasov
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.
2022-11-15Revert "Add pointing device support to data driven config (#18215)" (#19063)Drashna Jaelre
2022-11-14Add pointing device support to data driven config (#18215)Drashna Jaelre
Co-authored-by: Joel Challis <git@zvecr.com>
2022-11-08Format DD mappings and schemas (#18924)Ryan
2022-10-20Add converter support to keymap.json (#18776)Joel Challis
2022-10-19Build correctly when out of tree (#18775)Joel Challis
2022-09-26Generate DD RGBLight/LED/RGB Matrix animation defines (#18459)Ryan
2022-09-21Normalise info_config.h define generation (#18439)Ryan
* 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>
2022-08-28Handle escaping of manufacturer/product strings (#18194)Ryan
2022-07-11More DD encoder fixes (#17615)Joel Challis
2022-07-08Fix rgbkb/sol/rev2 build issues (#17601)Joel Challis
2022-06-20Allow encoder config from info.json (#17295)Joel Challis
2022-04-16Implement XAP 'secure' core requirements (#16843)Joel Challis
Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Stefan Kerkmann <karlk90@pm.me>
2022-03-21Extend 'qmk info' to handle keymap level overrides (#16702)Joel Challis
2022-03-18Merge remote-tracking branch 'origin/master' into developzvecr
2022-03-18[CLI] Add common util for dumping generated content (#16674)Joel Challis
2022-03-04Change data driven "str" type to represent a quoted string literal (#16516)Ryan
* Change data driven "str" type to represent a quoted string literal * Update docs
2022-02-27Fix issues with data driven split keyboards (#16457)Joel Challis
2022-01-17CLI: Parse USB device version BCD (#14580)Ryan
* CLI: Parse USB device version BCD * Apply suggestions
2021-09-27Cleanup issues identified by lgtm (#14459)Zach White
* cleanup issues identified by lgtm * fix the git_status check
2021-08-18Add config.h and rules.mk support for data driven keymaps (#12859)Joel Challis
* 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
2021-08-16Add a lot more data to info.json (#13366)Zach White
* 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>
2021-04-14Add support for tab completion (#12411)Zach White
* Add support for tab completion * make flake8 happy * Add documentation
2021-03-24Add support for qmk_configurator style aliases (#11954)Zach White
* 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
2021-02-28Fix generated file output while target exists (#12062)Joel Challis
2021-01-31Create a system to map between info.json and config.h/rules.mk (#11548)Zach White
* 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
2021-01-08fix bugs triggered by certain boardsZach White
2021-01-07fix rgblight propertiesZach White
2021-01-03fix keyboards with apostrophes in their namesZach White
2021-01-02Fix compiling on develop (#11409)Zach White
2020-12-30Configure keyboard matrix from info.json (#10817)Zach White
* 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>