diff options
Diffstat (limited to 'lib/python/qmk/info.py')
| -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 |
