forked from mirrors/qmk_firmware
support config as an alias of keyboard_overrides
This commit is contained in:
parent
0d9d1d0414
commit
4821b3c3a1
2 changed files with 4 additions and 0 deletions
|
@ -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…
Reference in a new issue