summaryrefslogtreecommitdiff
path: root/data/schemas
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-03-20 08:12:19 +1100
committerGitHub <noreply@github.com>2023-03-20 08:12:19 +1100
commit65a80f411f03be466d0b74c5b1d44f161e19ac7e (patch)
tree8d50fe66e700167fa758eb2763a7be6eb10a2c7f /data/schemas
parent3c144fac5e2b634166f6b9cc0fc45029d63d3398 (diff)
Clean up APA102 config and add DD mapping (#20159)
Diffstat (limited to 'data/schemas')
-rw-r--r--data/schemas/keyboard.jsonschema13
1 files changed, 13 insertions, 0 deletions
diff --git a/data/schemas/keyboard.jsonschema b/data/schemas/keyboard.jsonschema
index 2845af14f3..4d180712dc 100644
--- a/data/schemas/keyboard.jsonschema
+++ b/data/schemas/keyboard.jsonschema
@@ -96,6 +96,19 @@
"unknown"
]
},
+ "apa102": {
+ "type": "object",
+ "additionalProperties": false,
+ "properties": {
+ "data_pin": {"$ref": "qmk.definitions.v1#/mcu_pin"},
+ "clock_pin": {"$ref": "qmk.definitions.v1#/mcu_pin"},
+ "default_brightness": {
+ "type": "integer",
+ "minimum": 0,
+ "maximum": 31
+ }
+ }
+ },
"audio": {
"type": "object",
"additionalProperties": false,