aboutsummaryrefslogtreecommitdiffstats
path: root/data/schemas/keymap.jsonschema
diff options
context:
space:
mode:
authorJoel Challis2025-09-12 11:23:23 +0200
committerGitHub2025-09-12 11:23:23 +0200
commitcf58a8733d35bbfea2f54bd0175747ee63d9b2e3 (patch)
tree6bee7d8c07e398032bf34bee540a3f08b1fd0dfe /data/schemas/keymap.jsonschema
parent3320e98ccf6d1fccfada9d6f1d97759e80a340e8 (diff)
Add DIP Switch map support to keymap.json (#25431)
Diffstat (limited to 'data/schemas/keymap.jsonschema')
-rw-r--r--data/schemas/keymap.jsonschema11
1 files changed, 11 insertions, 0 deletions
diff --git a/data/schemas/keymap.jsonschema b/data/schemas/keymap.jsonschema
index 99aeaa6b6c..71b39fc7c4 100644
--- a/data/schemas/keymap.jsonschema
+++ b/data/schemas/keymap.jsonschema
@@ -35,6 +35,17 @@
}
}
},
+ "dip_switches": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "required": ["on", "off"],
+ "properties": {
+ "on": {"type": "string"},
+ "off": {"type": "string"}
+ }
+ }
+ },
"macros": {
"type": "array",
"items": {