diff options
| author | Joel Challis <[email protected]> | 2024-03-30 10:43:15 +0000 | 
|---|---|---|
| committer | GitHub <[email protected]> | 2024-03-30 10:43:15 +0000 | 
| commit | 426bb9c651a292dce6ae01e7ed9d41d94dbba99f (patch) | |
| tree | fbee5244f85aada3c7c17d52cd3dace080f7e06f /lib/python | |
| parent | 86e7df0c2a75baa00238f5350a912d5a4f8b622d (diff) | |
| download | qmk_firmware-426bb9c651a292dce6ae01e7ed9d41d94dbba99f.tar.gz qmk_firmware-426bb9c651a292dce6ae01e7ed9d41d94dbba99f.zip | |
Migrate features and LTO from rules.mk to data driven (#23302)
Diffstat (limited to 'lib/python')
| -rw-r--r-- | lib/python/qmk/info.py | 6 | 
1 files changed, 6 insertions, 0 deletions
| diff --git a/lib/python/qmk/info.py b/lib/python/qmk/info.py index 99ac254e27..71bb6e9454 100644 --- a/lib/python/qmk/info.py +++ b/lib/python/qmk/info.py @@ -384,6 +384,12 @@ def _extract_encoders(info_data, config_c):          info_data['encoder']['rotary'] = encoders +    # TODO: some logic still assumes ENCODER_ENABLED would partially create encoder dict +    if info_data.get('features', {}).get('encoder', False): +        if 'encoder' not in info_data: +            info_data['encoder'] = {} +        info_data['encoder']['enabled'] = True +  def _extract_split_encoders(info_data, config_c):      """Populate data about split encoder pins | 
