summaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2021-02-28 21:25:41 +0000
committerQMK Bot <hello@qmk.fm>2021-02-28 21:25:41 +0000
commit93a1d4f15611d68225b1eb689b81cbd4564fb18c (patch)
tree49dbe504f06e23a53dcd732bfaf6d3d54e7ce9ba /data
parent80e8e20a8965da5934f74141291c6c5d805774c6 (diff)
parentf8266a228cacbc31b0455161e0a8bd073feaa9db (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'data')
-rw-r--r--data/mappings/info_config.json6
-rw-r--r--data/schemas/keyboard.jsonschema22
2 files changed, 27 insertions, 1 deletions
diff --git a/data/mappings/info_config.json b/data/mappings/info_config.json
index 885e6d0256..b949b13320 100644
--- a/data/mappings/info_config.json
+++ b/data/mappings/info_config.json
@@ -38,5 +38,9 @@
"RGBLIGHT_SPLIT": {"info_key": "rgblight.split", "value_type": "bool"},
"PRODUCT": {"info_key": "keyboard_folder", "to_json": false},
"PRODUCT_ID": {"info_key": "usb.pid", "value_type": "hex"},
- "VENDOR_ID": {"info_key": "usb.vid", "value_type": "hex"}
+ "VENDOR_ID": {"info_key": "usb.vid", "value_type": "hex"},
+ "QMK_ESC_OUTPUT": {"info_key": "qmk_lufa_bootloader.esc_output"},
+ "QMK_ESC_INPUT": {"info_key": "qmk_lufa_bootloader.esc_input"},
+ "QMK_LED": {"info_key": "qmk_lufa_bootloader.led"},
+ "QMK_SPEAKER": {"info_key": "qmk_lufa_bootloader.speaker"}
}
diff --git a/data/schemas/keyboard.jsonschema b/data/schemas/keyboard.jsonschema
index 749e8f1002..ec03a8828b 100644
--- a/data/schemas/keyboard.jsonschema
+++ b/data/schemas/keyboard.jsonschema
@@ -299,6 +299,28 @@
"pattern": "^[0-9A-F]x[0-9A-F][0-9A-F][0-9A-F][0-9A-F]"
}
}
+ },
+ "qmk_lufa_bootloader": {
+ "type": "object",
+ "additionalProperties": false,
+ "properties": {
+ "esc_output": {
+ "type": "string",
+ "pattern": "^[A-K]\\d{1,2}$"
+ },
+ "esc_input": {
+ "type": "string",
+ "pattern": "^[A-K]\\d{1,2}$"
+ },
+ "led": {
+ "type": "string",
+ "pattern": "^[A-K]\\d{1,2}$"
+ },
+ "speaker": {
+ "type": "string",
+ "pattern": "^[A-K]\\d{1,2}$"
+ }
+ }
}
}
}