diff options
| author | Joel Challis <git@zvecr.com> | 2024-03-30 10:43:15 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-30 10:43:15 +0000 |
| commit | 426bb9c651a292dce6ae01e7ed9d41d94dbba99f (patch) | |
| tree | fbee5244f85aada3c7c17d52cd3dace080f7e06f /lib/python | |
| parent | 86e7df0c2a75baa00238f5350a912d5a4f8b622d (diff) | |
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): | |||
| 384 | 384 | ||
| 385 | info_data['encoder']['rotary'] = encoders | 385 | info_data['encoder']['rotary'] = encoders |
| 386 | 386 | ||
| 387 | # TODO: some logic still assumes ENCODER_ENABLED would partially create encoder dict | ||
| 388 | if info_data.get('features', {}).get('encoder', False): | ||
| 389 | if 'encoder' not in info_data: | ||
| 390 | info_data['encoder'] = {} | ||
| 391 | info_data['encoder']['enabled'] = True | ||
| 392 | |||
| 387 | 393 | ||
| 388 | def _extract_split_encoders(info_data, config_c): | 394 | def _extract_split_encoders(info_data, config_c): |
| 389 | """Populate data about split encoder pins | 395 | """Populate data about split encoder pins |
