diff --git a/data/schemas/keymap.jsonschema b/data/schemas/keymap.jsonschema index 0a515bfa84..9e60923baa 100644 --- a/data/schemas/keymap.jsonschema +++ b/data/schemas/keymap.jsonschema @@ -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"}, diff --git a/lib/python/qmk/info.py b/lib/python/qmk/info.py index 3522ef453d..327df1680f 100644 --- a/lib/python/qmk/info.py +++ b/lib/python/qmk/info.py @@ -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.