diff options
author | Joel Challis <git@zvecr.com> | 2022-06-14 12:30:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-14 12:30:31 +0100 |
commit | 87e1ff218d01b193d84c7d2e396cded57fad3fba (patch) | |
tree | ad4c1de741c68d7b1056d7626f897838d0db64b3 /data/schemas | |
parent | 2f4c7697a98471dce0c5ffdd99852023c6b56f5e (diff) | |
download | qmk_firmware-87e1ff218d01b193d84c7d2e396cded57fad3fba.tar.gz qmk_firmware-87e1ff218d01b193d84c7d2e396cded57fad3fba.zip |
backlight|led 'on state' for DD configuration (#17383)
Diffstat (limited to 'data/schemas')
-rw-r--r-- | data/schemas/definitions.jsonschema | 6 | ||||
-rw-r--r-- | data/schemas/keyboard.jsonschema | 8 |
2 files changed, 12 insertions, 2 deletions
diff --git a/data/schemas/definitions.jsonschema b/data/schemas/definitions.jsonschema index 1bdfbbeb03..5a2e5ccc05 100644 --- a/data/schemas/definitions.jsonschema +++ b/data/schemas/definitions.jsonschema @@ -150,5 +150,11 @@ "min": 0, "max": 255, "multipleOf": 1 + }, + "bit": { + "type": "number", + "min": 0, + "max": 1, + "multipleOf": 1 } } diff --git a/data/schemas/keyboard.jsonschema b/data/schemas/keyboard.jsonschema index fd60920578..9f6721ba9d 100644 --- a/data/schemas/keyboard.jsonschema +++ b/data/schemas/keyboard.jsonschema @@ -45,7 +45,8 @@ "max": 31, "multipleOf": 1 }, - "pin": {"$ref": "qmk.definitions.v1#/mcu_pin"} + "pin": {"$ref": "qmk.definitions.v1#/mcu_pin"}, + "on_state": {"$ref": "qmk.definitions.v1#/bit"} } }, "bluetooth": { @@ -119,7 +120,10 @@ "properties": { "caps_lock": {"$ref": "qmk.definitions.v1#/mcu_pin"}, "num_lock": {"$ref": "qmk.definitions.v1#/mcu_pin"}, - "scroll_lock": {"$ref": "qmk.definitions.v1#/mcu_pin"} + "scroll_lock": {"$ref": "qmk.definitions.v1#/mcu_pin"}, + "compose": {"$ref": "qmk.definitions.v1#/mcu_pin"}, + "kana": {"$ref": "qmk.definitions.v1#/mcu_pin"}, + "on_state": {"$ref": "qmk.definitions.v1#/bit"} } }, "layout_aliases": { |