summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2023-11-20 15:41:48 +0000
committerGitHub <noreply@github.com>2023-11-20 15:41:48 +0000
commite279c78ba3054ebc2e294dd91ea98341cc509d1e (patch)
treef22fc30fa1f966c708ec137f667c44a6528c4403 /data
parent62cca5c43a63e694da4596dc41d1251f9c530198 (diff)
Enable linking of encoders to switch within layout macros (#22264)
Diffstat (limited to 'data')
-rw-r--r--data/schemas/keyboard.jsonschema1
1 files changed, 1 insertions, 0 deletions
diff --git a/data/schemas/keyboard.jsonschema b/data/schemas/keyboard.jsonschema
index 9fc455530c..2996958084 100644
--- a/data/schemas/keyboard.jsonschema
+++ b/data/schemas/keyboard.jsonschema
@@ -348,6 +348,7 @@
"additionalProperties": false,
"required": ["x", "y"],
"properties": {
+ "encoder": {"$ref": "qmk.definitions.v1#/unsigned_int"},
"label": {
"type": "string",
"pattern": "^[^\\n]*$"