summaryrefslogtreecommitdiff
path: root/data/schemas/keyboard.jsonschema
diff options
context:
space:
mode:
authorMichael Stapelberg <stapelberg@users.noreply.github.com>2021-06-20 00:21:56 +0200
committerGitHub <noreply@github.com>2021-06-19 15:21:56 -0700
commit7c5ef4060e32396ddcbf0fd2ea9a22f569a4e984 (patch)
tree7cb12ed90c3e96d2e52c0d506d6cc8f04f85c874 /data/schemas/keyboard.jsonschema
parent8dc036c2e49f51a8dc1721ac8e84d7ec1c873f1e (diff)
downloadqmk_firmware-7c5ef4060e32396ddcbf0fd2ea9a22f569a4e984.tar.gz
qmk_firmware-7c5ef4060e32396ddcbf0fd2ea9a22f569a4e984.zip
allow LINE_PINxx for Teensy 4.x pins (#13247)
fixes https://github.com/qmk/qmk_firmware/issues/13052
Diffstat (limited to 'data/schemas/keyboard.jsonschema')
-rw-r--r--data/schemas/keyboard.jsonschema14
1 files changed, 13 insertions, 1 deletions
diff --git a/data/schemas/keyboard.jsonschema b/data/schemas/keyboard.jsonschema
index c335f49d52..177bb0a961 100644
--- a/data/schemas/keyboard.jsonschema
+++ b/data/schemas/keyboard.jsonschema
@@ -180,6 +180,10 @@
"pattern": "^[A-K]\\d{1,2}$"
},
{
+ "type": "string",
+ "pattern": "^LINE_PIN\\d{1,2}$"
+ },
+ {
"type": "number",
"multipleOf": 1
},
@@ -199,6 +203,10 @@
"pattern": "^[A-K]\\d{1,2}$"
},
{
+ "type": "string",
+ "pattern": "^LINE_PIN\\d{1,2}$"
+ },
+ {
"type": "number",
"multipleOf": 1
},
@@ -217,6 +225,10 @@
"pattern": "^[A-K]\\d{1,2}$"
},
{
+ "type": "string",
+ "pattern": "^LINE_PIN\\d{1,2}$"
+ },
+ {
"type": "number",
"multipleOf": 1
},
@@ -261,7 +273,7 @@
},
"pin": {
"type": "string",
- "pattern": "^[A-K]\\d{1,2}$"
+ "pattern": "^([A-K]\\d{1,2}|LINE_PIN\\d{1,2})$"
},
"saturation_steps": {
"type": "number",