support config as an alias of keyboard_overrides
This commit is contained in:
parent
0d9d1d0414
commit
4821b3c3a1
@ -5,6 +5,7 @@
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"author": {"type": "string"},
|
||||
"config": {"$ref": "qmk.keyboard.v1"},
|
||||
"keyboard": {"$ref": "qmk.definitions.v1#/text_identifier"},
|
||||
"keyboard_overrides": {"$ref": "qmk.keyboard.v1"},
|
||||
"keymap": {"$ref": "qmk.definitions.v1#/text_identifier"},
|
||||
|
@ -123,6 +123,9 @@ def get_keyboard_overrides(keyboard, keymap=None):
|
||||
if 'keyboard_overrides' in keymap_json:
|
||||
return keymap_json['keyboard_overrides']
|
||||
|
||||
if 'config' in keymap_json:
|
||||
return keymap_json['config']
|
||||
|
||||
|
||||
def _extract_features(info_data, rules):
|
||||
"""Find all the features enabled in rules.mk.
|
||||
|
Loading…
x
Reference in New Issue
Block a user