You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

466 lines
19 KiB

Add a lot more data to info.json (#13366) * add some split data to info.json * add tags * add half of config_options.md to info.json * add support for designating master split * sort out split transport and primary * fix bad data in UNUSED_PINS * fixup custom transport * wip * allow for setting split right half keyboard matrix * add SPLIT_USB_DETECT * minor cleanup * fix an erroneous message * rework split.usb_detect * adding missing rgblight vars to info.json * add mouse_key to info.json * add all remaining options from docs/config_options.md * fix audio voices * qmk info: Change text output to use dotted notation * tweak layout output * resolve alias names * break out some functions to make flake8 happy * add a field for bootloader instructions * qmk generate-info-json: add a write-to-file argument Adds an argument that instructs qmk generate-info-json to write the output to a file instead of just to the terminal. * -arg_only, +action Because it was never my intention that one would have to specify a value for the argument that enables writing the file. * Bring qmk generate-info-json inline with other generate commands * pytest fixup * fix esca/getawayvan * fix data driven errors for bpiphany converters * features.force_nkro -> usb.force_nkro * split.primary->split.main * fix esca/getawayvan_f042 * fix the bpiphany converters for real * fix bpiphany/tiger_lily * Apply suggestions from code review Co-authored-by: Nick Brassel <nick@tzarc.org> * fix generate-api errors * fix matrix pin extraction for split boards * fix ploopyco/trackball_nano/rev1_001 Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com> Co-authored-by: Nick Brassel <nick@tzarc.org>
2 years ago
Add a lot more data to info.json (#13366) * add some split data to info.json * add tags * add half of config_options.md to info.json * add support for designating master split * sort out split transport and primary * fix bad data in UNUSED_PINS * fixup custom transport * wip * allow for setting split right half keyboard matrix * add SPLIT_USB_DETECT * minor cleanup * fix an erroneous message * rework split.usb_detect * adding missing rgblight vars to info.json * add mouse_key to info.json * add all remaining options from docs/config_options.md * fix audio voices * qmk info: Change text output to use dotted notation * tweak layout output * resolve alias names * break out some functions to make flake8 happy * add a field for bootloader instructions * qmk generate-info-json: add a write-to-file argument Adds an argument that instructs qmk generate-info-json to write the output to a file instead of just to the terminal. * -arg_only, +action Because it was never my intention that one would have to specify a value for the argument that enables writing the file. * Bring qmk generate-info-json inline with other generate commands * pytest fixup * fix esca/getawayvan * fix data driven errors for bpiphany converters * features.force_nkro -> usb.force_nkro * split.primary->split.main * fix esca/getawayvan_f042 * fix the bpiphany converters for real * fix bpiphany/tiger_lily * Apply suggestions from code review Co-authored-by: Nick Brassel <nick@tzarc.org> * fix generate-api errors * fix matrix pin extraction for split boards * fix ploopyco/trackball_nano/rev1_001 Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com> Co-authored-by: Nick Brassel <nick@tzarc.org>
2 years ago
Add a lot more data to info.json (#13366) * add some split data to info.json * add tags * add half of config_options.md to info.json * add support for designating master split * sort out split transport and primary * fix bad data in UNUSED_PINS * fixup custom transport * wip * allow for setting split right half keyboard matrix * add SPLIT_USB_DETECT * minor cleanup * fix an erroneous message * rework split.usb_detect * adding missing rgblight vars to info.json * add mouse_key to info.json * add all remaining options from docs/config_options.md * fix audio voices * qmk info: Change text output to use dotted notation * tweak layout output * resolve alias names * break out some functions to make flake8 happy * add a field for bootloader instructions * qmk generate-info-json: add a write-to-file argument Adds an argument that instructs qmk generate-info-json to write the output to a file instead of just to the terminal. * -arg_only, +action Because it was never my intention that one would have to specify a value for the argument that enables writing the file. * Bring qmk generate-info-json inline with other generate commands * pytest fixup * fix esca/getawayvan * fix data driven errors for bpiphany converters * features.force_nkro -> usb.force_nkro * split.primary->split.main * fix esca/getawayvan_f042 * fix the bpiphany converters for real * fix bpiphany/tiger_lily * Apply suggestions from code review Co-authored-by: Nick Brassel <nick@tzarc.org> * fix generate-api errors * fix matrix pin extraction for split boards * fix ploopyco/trackball_nano/rev1_001 Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com> Co-authored-by: Nick Brassel <nick@tzarc.org>
2 years ago
Add a lot more data to info.json (#13366) * add some split data to info.json * add tags * add half of config_options.md to info.json * add support for designating master split * sort out split transport and primary * fix bad data in UNUSED_PINS * fixup custom transport * wip * allow for setting split right half keyboard matrix * add SPLIT_USB_DETECT * minor cleanup * fix an erroneous message * rework split.usb_detect * adding missing rgblight vars to info.json * add mouse_key to info.json * add all remaining options from docs/config_options.md * fix audio voices * qmk info: Change text output to use dotted notation * tweak layout output * resolve alias names * break out some functions to make flake8 happy * add a field for bootloader instructions * qmk generate-info-json: add a write-to-file argument Adds an argument that instructs qmk generate-info-json to write the output to a file instead of just to the terminal. * -arg_only, +action Because it was never my intention that one would have to specify a value for the argument that enables writing the file. * Bring qmk generate-info-json inline with other generate commands * pytest fixup * fix esca/getawayvan * fix data driven errors for bpiphany converters * features.force_nkro -> usb.force_nkro * split.primary->split.main * fix esca/getawayvan_f042 * fix the bpiphany converters for real * fix bpiphany/tiger_lily * Apply suggestions from code review Co-authored-by: Nick Brassel <nick@tzarc.org> * fix generate-api errors * fix matrix pin extraction for split boards * fix ploopyco/trackball_nano/rev1_001 Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com> Co-authored-by: Nick Brassel <nick@tzarc.org>
2 years ago
Add a lot more data to info.json (#13366) * add some split data to info.json * add tags * add half of config_options.md to info.json * add support for designating master split * sort out split transport and primary * fix bad data in UNUSED_PINS * fixup custom transport * wip * allow for setting split right half keyboard matrix * add SPLIT_USB_DETECT * minor cleanup * fix an erroneous message * rework split.usb_detect * adding missing rgblight vars to info.json * add mouse_key to info.json * add all remaining options from docs/config_options.md * fix audio voices * qmk info: Change text output to use dotted notation * tweak layout output * resolve alias names * break out some functions to make flake8 happy * add a field for bootloader instructions * qmk generate-info-json: add a write-to-file argument Adds an argument that instructs qmk generate-info-json to write the output to a file instead of just to the terminal. * -arg_only, +action Because it was never my intention that one would have to specify a value for the argument that enables writing the file. * Bring qmk generate-info-json inline with other generate commands * pytest fixup * fix esca/getawayvan * fix data driven errors for bpiphany converters * features.force_nkro -> usb.force_nkro * split.primary->split.main * fix esca/getawayvan_f042 * fix the bpiphany converters for real * fix bpiphany/tiger_lily * Apply suggestions from code review Co-authored-by: Nick Brassel <nick@tzarc.org> * fix generate-api errors * fix matrix pin extraction for split boards * fix ploopyco/trackball_nano/rev1_001 Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com> Co-authored-by: Nick Brassel <nick@tzarc.org>
2 years ago
Add a lot more data to info.json (#13366) * add some split data to info.json * add tags * add half of config_options.md to info.json * add support for designating master split * sort out split transport and primary * fix bad data in UNUSED_PINS * fixup custom transport * wip * allow for setting split right half keyboard matrix * add SPLIT_USB_DETECT * minor cleanup * fix an erroneous message * rework split.usb_detect * adding missing rgblight vars to info.json * add mouse_key to info.json * add all remaining options from docs/config_options.md * fix audio voices * qmk info: Change text output to use dotted notation * tweak layout output * resolve alias names * break out some functions to make flake8 happy * add a field for bootloader instructions * qmk generate-info-json: add a write-to-file argument Adds an argument that instructs qmk generate-info-json to write the output to a file instead of just to the terminal. * -arg_only, +action Because it was never my intention that one would have to specify a value for the argument that enables writing the file. * Bring qmk generate-info-json inline with other generate commands * pytest fixup * fix esca/getawayvan * fix data driven errors for bpiphany converters * features.force_nkro -> usb.force_nkro * split.primary->split.main * fix esca/getawayvan_f042 * fix the bpiphany converters for real * fix bpiphany/tiger_lily * Apply suggestions from code review Co-authored-by: Nick Brassel <nick@tzarc.org> * fix generate-api errors * fix matrix pin extraction for split boards * fix ploopyco/trackball_nano/rev1_001 Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com> Co-authored-by: Nick Brassel <nick@tzarc.org>
2 years ago
Add a lot more data to info.json (#13366) * add some split data to info.json * add tags * add half of config_options.md to info.json * add support for designating master split * sort out split transport and primary * fix bad data in UNUSED_PINS * fixup custom transport * wip * allow for setting split right half keyboard matrix * add SPLIT_USB_DETECT * minor cleanup * fix an erroneous message * rework split.usb_detect * adding missing rgblight vars to info.json * add mouse_key to info.json * add all remaining options from docs/config_options.md * fix audio voices * qmk info: Change text output to use dotted notation * tweak layout output * resolve alias names * break out some functions to make flake8 happy * add a field for bootloader instructions * qmk generate-info-json: add a write-to-file argument Adds an argument that instructs qmk generate-info-json to write the output to a file instead of just to the terminal. * -arg_only, +action Because it was never my intention that one would have to specify a value for the argument that enables writing the file. * Bring qmk generate-info-json inline with other generate commands * pytest fixup * fix esca/getawayvan * fix data driven errors for bpiphany converters * features.force_nkro -> usb.force_nkro * split.primary->split.main * fix esca/getawayvan_f042 * fix the bpiphany converters for real * fix bpiphany/tiger_lily * Apply suggestions from code review Co-authored-by: Nick Brassel <nick@tzarc.org> * fix generate-api errors * fix matrix pin extraction for split boards * fix ploopyco/trackball_nano/rev1_001 Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com> Co-authored-by: Nick Brassel <nick@tzarc.org>
2 years ago
Add a lot more data to info.json (#13366) * add some split data to info.json * add tags * add half of config_options.md to info.json * add support for designating master split * sort out split transport and primary * fix bad data in UNUSED_PINS * fixup custom transport * wip * allow for setting split right half keyboard matrix * add SPLIT_USB_DETECT * minor cleanup * fix an erroneous message * rework split.usb_detect * adding missing rgblight vars to info.json * add mouse_key to info.json * add all remaining options from docs/config_options.md * fix audio voices * qmk info: Change text output to use dotted notation * tweak layout output * resolve alias names * break out some functions to make flake8 happy * add a field for bootloader instructions * qmk generate-info-json: add a write-to-file argument Adds an argument that instructs qmk generate-info-json to write the output to a file instead of just to the terminal. * -arg_only, +action Because it was never my intention that one would have to specify a value for the argument that enables writing the file. * Bring qmk generate-info-json inline with other generate commands * pytest fixup * fix esca/getawayvan * fix data driven errors for bpiphany converters * features.force_nkro -> usb.force_nkro * split.primary->split.main * fix esca/getawayvan_f042 * fix the bpiphany converters for real * fix bpiphany/tiger_lily * Apply suggestions from code review Co-authored-by: Nick Brassel <nick@tzarc.org> * fix generate-api errors * fix matrix pin extraction for split boards * fix ploopyco/trackball_nano/rev1_001 Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com> Co-authored-by: Nick Brassel <nick@tzarc.org>
2 years ago
Add a lot more data to info.json (#13366) * add some split data to info.json * add tags * add half of config_options.md to info.json * add support for designating master split * sort out split transport and primary * fix bad data in UNUSED_PINS * fixup custom transport * wip * allow for setting split right half keyboard matrix * add SPLIT_USB_DETECT * minor cleanup * fix an erroneous message * rework split.usb_detect * adding missing rgblight vars to info.json * add mouse_key to info.json * add all remaining options from docs/config_options.md * fix audio voices * qmk info: Change text output to use dotted notation * tweak layout output * resolve alias names * break out some functions to make flake8 happy * add a field for bootloader instructions * qmk generate-info-json: add a write-to-file argument Adds an argument that instructs qmk generate-info-json to write the output to a file instead of just to the terminal. * -arg_only, +action Because it was never my intention that one would have to specify a value for the argument that enables writing the file. * Bring qmk generate-info-json inline with other generate commands * pytest fixup * fix esca/getawayvan * fix data driven errors for bpiphany converters * features.force_nkro -> usb.force_nkro * split.primary->split.main * fix esca/getawayvan_f042 * fix the bpiphany converters for real * fix bpiphany/tiger_lily * Apply suggestions from code review Co-authored-by: Nick Brassel <nick@tzarc.org> * fix generate-api errors * fix matrix pin extraction for split boards * fix ploopyco/trackball_nano/rev1_001 Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com> Co-authored-by: Nick Brassel <nick@tzarc.org>
2 years ago
Add a lot more data to info.json (#13366) * add some split data to info.json * add tags * add half of config_options.md to info.json * add support for designating master split * sort out split transport and primary * fix bad data in UNUSED_PINS * fixup custom transport * wip * allow for setting split right half keyboard matrix * add SPLIT_USB_DETECT * minor cleanup * fix an erroneous message * rework split.usb_detect * adding missing rgblight vars to info.json * add mouse_key to info.json * add all remaining options from docs/config_options.md * fix audio voices * qmk info: Change text output to use dotted notation * tweak layout output * resolve alias names * break out some functions to make flake8 happy * add a field for bootloader instructions * qmk generate-info-json: add a write-to-file argument Adds an argument that instructs qmk generate-info-json to write the output to a file instead of just to the terminal. * -arg_only, +action Because it was never my intention that one would have to specify a value for the argument that enables writing the file. * Bring qmk generate-info-json inline with other generate commands * pytest fixup * fix esca/getawayvan * fix data driven errors for bpiphany converters * features.force_nkro -> usb.force_nkro * split.primary->split.main * fix esca/getawayvan_f042 * fix the bpiphany converters for real * fix bpiphany/tiger_lily * Apply suggestions from code review Co-authored-by: Nick Brassel <nick@tzarc.org> * fix generate-api errors * fix matrix pin extraction for split boards * fix ploopyco/trackball_nano/rev1_001 Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com> Co-authored-by: Nick Brassel <nick@tzarc.org>
2 years ago
Add a lot more data to info.json (#13366) * add some split data to info.json * add tags * add half of config_options.md to info.json * add support for designating master split * sort out split transport and primary * fix bad data in UNUSED_PINS * fixup custom transport * wip * allow for setting split right half keyboard matrix * add SPLIT_USB_DETECT * minor cleanup * fix an erroneous message * rework split.usb_detect * adding missing rgblight vars to info.json * add mouse_key to info.json * add all remaining options from docs/config_options.md * fix audio voices * qmk info: Change text output to use dotted notation * tweak layout output * resolve alias names * break out some functions to make flake8 happy * add a field for bootloader instructions * qmk generate-info-json: add a write-to-file argument Adds an argument that instructs qmk generate-info-json to write the output to a file instead of just to the terminal. * -arg_only, +action Because it was never my intention that one would have to specify a value for the argument that enables writing the file. * Bring qmk generate-info-json inline with other generate commands * pytest fixup * fix esca/getawayvan * fix data driven errors for bpiphany converters * features.force_nkro -> usb.force_nkro * split.primary->split.main * fix esca/getawayvan_f042 * fix the bpiphany converters for real * fix bpiphany/tiger_lily * Apply suggestions from code review Co-authored-by: Nick Brassel <nick@tzarc.org> * fix generate-api errors * fix matrix pin extraction for split boards * fix ploopyco/trackball_nano/rev1_001 Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com> Co-authored-by: Nick Brassel <nick@tzarc.org>
2 years ago
Add a lot more data to info.json (#13366) * add some split data to info.json * add tags * add half of config_options.md to info.json * add support for designating master split * sort out split transport and primary * fix bad data in UNUSED_PINS * fixup custom transport * wip * allow for setting split right half keyboard matrix * add SPLIT_USB_DETECT * minor cleanup * fix an erroneous message * rework split.usb_detect * adding missing rgblight vars to info.json * add mouse_key to info.json * add all remaining options from docs/config_options.md * fix audio voices * qmk info: Change text output to use dotted notation * tweak layout output * resolve alias names * break out some functions to make flake8 happy * add a field for bootloader instructions * qmk generate-info-json: add a write-to-file argument Adds an argument that instructs qmk generate-info-json to write the output to a file instead of just to the terminal. * -arg_only, +action Because it was never my intention that one would have to specify a value for the argument that enables writing the file. * Bring qmk generate-info-json inline with other generate commands * pytest fixup * fix esca/getawayvan * fix data driven errors for bpiphany converters * features.force_nkro -> usb.force_nkro * split.primary->split.main * fix esca/getawayvan_f042 * fix the bpiphany converters for real * fix bpiphany/tiger_lily * Apply suggestions from code review Co-authored-by: Nick Brassel <nick@tzarc.org> * fix generate-api errors * fix matrix pin extraction for split boards * fix ploopyco/trackball_nano/rev1_001 Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com> Co-authored-by: Nick Brassel <nick@tzarc.org>
2 years ago
Add a lot more data to info.json (#13366) * add some split data to info.json * add tags * add half of config_options.md to info.json * add support for designating master split * sort out split transport and primary * fix bad data in UNUSED_PINS * fixup custom transport * wip * allow for setting split right half keyboard matrix * add SPLIT_USB_DETECT * minor cleanup * fix an erroneous message * rework split.usb_detect * adding missing rgblight vars to info.json * add mouse_key to info.json * add all remaining options from docs/config_options.md * fix audio voices * qmk info: Change text output to use dotted notation * tweak layout output * resolve alias names * break out some functions to make flake8 happy * add a field for bootloader instructions * qmk generate-info-json: add a write-to-file argument Adds an argument that instructs qmk generate-info-json to write the output to a file instead of just to the terminal. * -arg_only, +action Because it was never my intention that one would have to specify a value for the argument that enables writing the file. * Bring qmk generate-info-json inline with other generate commands * pytest fixup * fix esca/getawayvan * fix data driven errors for bpiphany converters * features.force_nkro -> usb.force_nkro * split.primary->split.main * fix esca/getawayvan_f042 * fix the bpiphany converters for real * fix bpiphany/tiger_lily * Apply suggestions from code review Co-authored-by: Nick Brassel <nick@tzarc.org> * fix generate-api errors * fix matrix pin extraction for split boards * fix ploopyco/trackball_nano/rev1_001 Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com> Co-authored-by: Nick Brassel <nick@tzarc.org>
2 years ago
Add a lot more data to info.json (#13366) * add some split data to info.json * add tags * add half of config_options.md to info.json * add support for designating master split * sort out split transport and primary * fix bad data in UNUSED_PINS * fixup custom transport * wip * allow for setting split right half keyboard matrix * add SPLIT_USB_DETECT * minor cleanup * fix an erroneous message * rework split.usb_detect * adding missing rgblight vars to info.json * add mouse_key to info.json * add all remaining options from docs/config_options.md * fix audio voices * qmk info: Change text output to use dotted notation * tweak layout output * resolve alias names * break out some functions to make flake8 happy * add a field for bootloader instructions * qmk generate-info-json: add a write-to-file argument Adds an argument that instructs qmk generate-info-json to write the output to a file instead of just to the terminal. * -arg_only, +action Because it was never my intention that one would have to specify a value for the argument that enables writing the file. * Bring qmk generate-info-json inline with other generate commands * pytest fixup * fix esca/getawayvan * fix data driven errors for bpiphany converters * features.force_nkro -> usb.force_nkro * split.primary->split.main * fix esca/getawayvan_f042 * fix the bpiphany converters for real * fix bpiphany/tiger_lily * Apply suggestions from code review Co-authored-by: Nick Brassel <nick@tzarc.org> * fix generate-api errors * fix matrix pin extraction for split boards * fix ploopyco/trackball_nano/rev1_001 Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com> Co-authored-by: Nick Brassel <nick@tzarc.org>
2 years ago
Add a lot more data to info.json (#13366) * add some split data to info.json * add tags * add half of config_options.md to info.json * add support for designating master split * sort out split transport and primary * fix bad data in UNUSED_PINS * fixup custom transport * wip * allow for setting split right half keyboard matrix * add SPLIT_USB_DETECT * minor cleanup * fix an erroneous message * rework split.usb_detect * adding missing rgblight vars to info.json * add mouse_key to info.json * add all remaining options from docs/config_options.md * fix audio voices * qmk info: Change text output to use dotted notation * tweak layout output * resolve alias names * break out some functions to make flake8 happy * add a field for bootloader instructions * qmk generate-info-json: add a write-to-file argument Adds an argument that instructs qmk generate-info-json to write the output to a file instead of just to the terminal. * -arg_only, +action Because it was never my intention that one would have to specify a value for the argument that enables writing the file. * Bring qmk generate-info-json inline with other generate commands * pytest fixup * fix esca/getawayvan * fix data driven errors for bpiphany converters * features.force_nkro -> usb.force_nkro * split.primary->split.main * fix esca/getawayvan_f042 * fix the bpiphany converters for real * fix bpiphany/tiger_lily * Apply suggestions from code review Co-authored-by: Nick Brassel <nick@tzarc.org> * fix generate-api errors * fix matrix pin extraction for split boards * fix ploopyco/trackball_nano/rev1_001 Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com> Co-authored-by: Nick Brassel <nick@tzarc.org>
2 years ago
  1. {
  2. "$schema": "http://json-schema.org/draft-07/schema#",
  3. "$id": "qmk.keyboard.v1",
  4. "title": "Keyboard Information",
  5. "type": "object",
  6. "properties": {
  7. "keyboard_name": {"$ref": "qmk.definitions.v1#/text_identifier"},
  8. "keyboard_folder": {"$ref": "qmk.definitions.v1#/keyboard"},
  9. "maintainer": {"$ref": "qmk.definitions.v1#/text_identifier"},
  10. "manufacturer": {"$ref": "qmk.definitions.v1#/text_identifier"},
  11. "url": {
  12. "type": "string",
  13. "format": "uri"
  14. },
  15. "development_board": {
  16. "type": "string",
  17. "enum": ["promicro", "elite_c", "proton_c", "bluepill", "blackpill_f401", "blackpill_f411"]
  18. },
  19. "pin_compatible": {
  20. "type": "string",
  21. "enum": ["promicro"]
  22. },
  23. "processor": {
  24. "type": "string",
  25. "enum": ["cortex-m0", "cortex-m0plus", "cortex-m3", "cortex-m4", "MKL26Z64", "MK20DX128", "MK20DX256", "MK66FX1M0", "STM32F042", "STM32F072", "STM32F103", "STM32F303", "STM32F401", "STM32F405", "STM32F407", "STM32F411", "STM32F446", "STM32G431", "STM32G474", "STM32L412", "STM32L422", "STM32L432", "STM32L433", "STM32L442", "STM32L443", "GD32VF103", "WB32F3G71", "WB32FQ95", "atmega16u2", "atmega32u2", "atmega16u4", "atmega32u4", "at90usb162", "at90usb646", "at90usb647", "at90usb1286", "at90usb1287", "atmega32a", "atmega328p", "atmega328", "attiny85", "unknown"]
  26. },
  27. "audio": {
  28. "type": "object",
  29. "additionalProperties": false,
  30. "properties": {
  31. "macro_beep": {"type": "boolean"},
  32. "pins": {"$ref": "qmk.definitions.v1#/mcu_pin_array"},
  33. "voices": {"type": "boolean"}
  34. }
  35. },
  36. "backlight": {
  37. "type": "object",
  38. "additionalProperties": false,
  39. "properties": {
  40. "breathing": {"type": "boolean"},
  41. "breathing_period": {"$ref": "qmk.definitions.v1#/unsigned_int_8"},
  42. "levels": {
  43. "type": "number",
  44. "min": 1,
  45. "max": 31,
  46. "multipleOf": 1
  47. },
  48. "pin": {"$ref": "qmk.definitions.v1#/mcu_pin"}
  49. }
  50. },
  51. "bluetooth": {
  52. "type": "object",
  53. "additionalProperties": false,
  54. "properties": {
  55. "driver": {
  56. "type": "string",
  57. "enum": ["BluefruitLE", "RN42"]
  58. },
  59. "lto": {"type": "boolean"},
  60. }
  61. },
  62. "board": {
  63. "type": "string",
  64. "minLength": 2,
  65. "pattern": "^[a-zA-Z_][0-9a-zA-Z_]*$"
  66. },
  67. "bootloader": {
  68. "type": "string",
  69. "enum": ["atmel-dfu", "bootloadhid", "bootloadHID", "custom", "caterina", "halfkay", "kiibohd", "lufa-dfu", "lufa-ms", "md-boot", "qmk-dfu", "qmk-hid", "stm32-dfu", "stm32duino", "gd32v-dfu", "wb32-dfu", "unknown", "usbasploader", "USBasp", "tinyuf2"],
  70. },
  71. "bootloader_instructions": {
  72. "type": "string",
  73. "description": "Instructions for putting the keyboard into a mode that allows for firmware flashing."
  74. },
  75. "build": {
  76. "type": "object",
  77. "additionalProperties": false,
  78. "properties": {
  79. "debounce_type": {
  80. "type": "string",
  81. "enum": ["custom", "eager_pk", "eager_pr", "sym_defer_pk", "sym_defer_pr", "sym_eager_pk"]
  82. },
  83. "firmware_format": {
  84. "type": "string",
  85. "enum": ["bin", "hex", "uf2"]
  86. },
  87. "lto": {"type": "boolean"},
  88. }
  89. },
  90. "diode_direction": {
  91. "type": "string",
  92. "enum": ["COL2ROW", "ROW2COL"]
  93. },
  94. "debounce": {"$ref": "qmk.definitions.v1#/unsigned_int"},
  95. "caps_word": {
  96. "type": "object",
  97. "additionalProperties": false,
  98. "properties": {
  99. "enabled": {"type": "boolean"},
  100. "both_shifts_turns_on": {"type": "boolean"},
  101. "double_tap_shift_turns_on": {"type": "boolean"},
  102. "idle_timeout": {"$ref": "qmk.definitions.v1#/unsigned_int"},
  103. },
  104. },
  105. "combo": {
  106. "type": "object",
  107. "properties": {
  108. "count": {"$ref": "qmk.definitions.v1#/unsigned_int"},
  109. "term": {"$ref": "qmk.definitions.v1#/unsigned_int"}
  110. }
  111. },
  112. "community_layouts": {
  113. "type": "array",
  114. "items": {"$ref": "qmk.definitions.v1#/filename"}
  115. },
  116. "features": {"$ref": "qmk.definitions.v1#/boolean_array"},
  117. "indicators": {
  118. "type": "object",
  119. "properties": {
  120. "caps_lock": {"$ref": "qmk.definitions.v1#/mcu_pin"},
  121. "num_lock": {"$ref": "qmk.definitions.v1#/mcu_pin"},
  122. "scroll_lock": {"$ref": "qmk.definitions.v1#/mcu_pin"}
  123. }
  124. },
  125. "layout_aliases": {
  126. "type": "object",
  127. "additionalProperties": {"$ref": "qmk.definitions.v1#/layout_macro"}
  128. },
  129. "layouts": {
  130. "type": "object",
  131. "propertyNames": {"$ref": "qmk.definitions.v1#/layout_macro"},
  132. "additionalProperties": {
  133. "type": "object",
  134. "additionalProperties": false,
  135. "properties": {
  136. "filename": {
  137. "type": "string"
  138. },
  139. "c_macro": {
  140. "type": "boolean"
  141. },
  142. "layout": {
  143. "type": "array",
  144. "items": {
  145. "type": "object",
  146. "additionalProperties": false,
  147. "properties": {
  148. "label": {
  149. "type": "string",
  150. "pattern": "^[^\\n]*$"
  151. },
  152. "matrix": {
  153. "type": "array",
  154. "minItems": 2,
  155. "maxItems": 2,
  156. "items": {
  157. "type": "number",
  158. "min": 0,
  159. "multipleOf": 1
  160. }
  161. },
  162. "r": {"$ref": "qmk.definitions.v1#/unsigned_decimal"},
  163. "rx": {"$ref": "qmk.definitions.v1#/unsigned_decimal"},
  164. "ry": {"$ref": "qmk.definitions.v1#/unsigned_decimal"},
  165. "h": {"$ref": "qmk.definitions.v1#/key_unit"},
  166. "w": {"$ref": "qmk.definitions.v1#/key_unit"},
  167. "x": {"$ref": "qmk.definitions.v1#/key_unit"},
  168. "y": {"$ref": "qmk.definitions.v1#/key_unit"}
  169. }
  170. }
  171. }
  172. }
  173. }
  174. },
  175. "leader_key": {
  176. "type": "object",
  177. "properties": {
  178. "timing": {"type": "boolean"},
  179. "strict_processing": {"type": "boolean"},
  180. "timeout": {"$ref": "qmk.definitions.v1#/unsigned_int"}
  181. }
  182. },
  183. "matrix_pins": {
  184. "type": "object",
  185. "additionalProperties": false,
  186. "properties": {
  187. "custom": {"type": "boolean"},
  188. "custom_lite": {"type": "boolean"},
  189. "ghost": {"type": "boolean"},
  190. "io_delay": {"$ref": "qmk.definitions.v1#/unsigned_int"},
  191. "direct": {
  192. "type": "array",
  193. "items": {"$ref": "qmk.definitions.v1#/mcu_pin_array"}
  194. },
  195. "cols": {"$ref": "qmk.definitions.v1#/mcu_pin_array"},
  196. "rows": {"$ref": "qmk.definitions.v1#/mcu_pin_array"},
  197. "unused": {"$ref": "qmk.definitions.v1#/mcu_pin_array"}
  198. }
  199. },
  200. "mouse_key": {
  201. "type": "object",
  202. "properties": {
  203. "enabled": {"type": "boolean"},
  204. "delay": {"$ref": "qmk.definitions.v1#/unsigned_int_8"}
  205. "interval": {"$ref": "qmk.definitions.v1#/unsigned_int_8"}
  206. "max_speed": {"$ref": "qmk.definitions.v1#/unsigned_int_8"}
  207. "time_to_max": {"$ref": "qmk.definitions.v1#/unsigned_int_8"}
  208. "wheel_delay": {"$ref": "qmk.definitions.v1#/unsigned_int_8"}
  209. }
  210. },
  211. "oneshot": {
  212. "type": "object",
  213. "properties": {
  214. "tap_toggle": {"$ref": "qmk.definitions.v1#/unsigned_int"},
  215. "timeout": {"$ref": "qmk.definitions.v1#/unsigned_int"}
  216. }
  217. },
  218. "led_matrix": {
  219. "type": "object",
  220. "properties": {
  221. "driver": {"type": "string"},
  222. "layout": {
  223. "type": "array",
  224. "items": {
  225. "type": "object",
  226. "additionalProperties": false,
  227. "properties": {
  228. "matrix": {
  229. "type": "array",
  230. "minItems": 2,
  231. "maxItems": 2,
  232. "items": {
  233. "type": "number",
  234. "min": 0,
  235. "multipleOf": 1
  236. }
  237. },
  238. "x": {"$ref": "qmk.definitions.v1#/key_unit"},
  239. "y": {"$ref": "qmk.definitions.v1#/key_unit"},
  240. "flags": {"$ref": "qmk.definitions.v1#/unsigned_decimal"}
  241. }
  242. }
  243. }
  244. }
  245. },
  246. "rgb_matrix": {
  247. "type": "object",
  248. "properties": {
  249. "driver": {"type": "string"},
  250. "layout": {
  251. "type": "array",
  252. "items": {
  253. "type": "object",
  254. "additionalProperties": false,
  255. "properties": {
  256. "matrix": {
  257. "type": "array",
  258. "minItems": 2,
  259. "maxItems": 2,
  260. "items": {
  261. "type": "number",
  262. "min": 0,
  263. "multipleOf": 1
  264. }
  265. },
  266. "x": {"$ref": "qmk.definitions.v1#/key_unit"},
  267. "y": {"$ref": "qmk.definitions.v1#/key_unit"},
  268. "flags": {"$ref": "qmk.definitions.v1#/unsigned_decimal"}
  269. }
  270. }
  271. }
  272. }
  273. },
  274. "rgblight": {
  275. "type": "object",
  276. "additionalProperties": false,
  277. "properties": {
  278. "animations": {
  279. "type": "object",
  280. "additionalProperties": {
  281. "type": "boolean"
  282. }
  283. },
  284. "brightness_steps": {"$ref": "qmk.definitions.v1#/unsigned_int"},
  285. "hue_steps": {"$ref": "qmk.definitions.v1#/unsigned_int"},
  286. "layers": {
  287. "type": "object",
  288. "additionalProperties": false,
  289. "properties": {
  290. "blink": {"type": "boolean"},
  291. "enabled": {"type": "boolean"},
  292. "max": {
  293. "type": "number",
  294. "min": 1,
  295. "max": 32,
  296. "multipleOf": 1
  297. },
  298. "override_rgb": {"type": "boolean"}
  299. }
  300. },
  301. "led_count": {"$ref": "qmk.definitions.v1#/unsigned_int"},
  302. "max_brightness": {"$ref": "qmk.definitions.v1#/unsigned_int_8"},
  303. "pin": {"$ref": "qmk.definitions.v1#/mcu_pin"},
  304. "rgbw": {"type": "boolean"},
  305. "saturation_steps": {"$ref": "qmk.definitions.v1#/unsigned_int"},
  306. "sleep": {"type": "boolean"},
  307. "split": {"type": "boolean"},
  308. "split_count": {
  309. "type": "array",
  310. "minLength": 2,
  311. "maxLength": 2,
  312. "items": {"$ref": "qmk.definitions.v1#/unsigned_int"}
  313. }
  314. }
  315. },
  316. "secure": {
  317. "type": "object",
  318. "additionalProperties": false,
  319. "properties": {
  320. "enabled": {"type": "boolean"},
  321. "unlock_timeout": {"$ref": "qmk.definitions.v1#/unsigned_int"},
  322. "idle_timeout": {"$ref": "qmk.definitions.v1#/unsigned_int"},
  323. "unlock_sequence": {
  324. "type": "array",
  325. "minLength": 1,
  326. "maxLength": 5,
  327. "items": {
  328. "type": "array",
  329. "minItems": 2,
  330. "maxItems": 2,
  331. "items": {
  332. "type": "number",
  333. "min": 0,
  334. "multipleOf": 1
  335. }
  336. }
  337. }
  338. }
  339. },
  340. "split": {
  341. "type": "object",
  342. "additionalProperties": false,
  343. "properties": {
  344. "enabled": {"type": "boolean"},
  345. "matrix_grid": {
  346. "type": "array",
  347. "items": {"$ref": "qmk.definitions.v1#/mcu_pin"}
  348. },
  349. "matrix_pins": {
  350. "type": "object",
  351. "additionalProperties": false,
  352. "properties": {
  353. "right": {
  354. "type": "object",
  355. "additionalProperties": false,
  356. "properties": {
  357. "direct": {
  358. "type": "array",
  359. "items": {"$ref": "qmk.definitions.v1#/mcu_pin_array"}
  360. },
  361. "cols": {"$ref": "qmk.definitions.v1#/mcu_pin_array"},
  362. "rows": {"$ref": "qmk.definitions.v1#/mcu_pin_array"},
  363. "unused": {"$ref": "qmk.definitions.v1#/mcu_pin_array"}
  364. }
  365. }
  366. }
  367. },
  368. "main": {
  369. "type": "string",
  370. "enum": ["eeprom", "left", "matrix_grid", "pin", "right"]
  371. },
  372. "soft_serial_pin": {"$ref": "qmk.definitions.v1#/mcu_pin"},
  373. "soft_serial_speed": {
  374. "type": "number",
  375. "min": 0,
  376. "max": 5,
  377. "multipleOf": 1
  378. },
  379. "transport": {
  380. "type": "object",
  381. "additionalProperties": false,
  382. "properties": {
  383. "protocol": {
  384. "type": "string",
  385. "enum": ["custom", "i2c", "serial", "serial_usart"]
  386. },
  387. "sync_matrix_state": {"type": "boolean"},
  388. "sync_modifiers": {"type": "boolean"}
  389. }
  390. },
  391. "usb_detect": {
  392. "type": "object",
  393. "additionalProperties": false,
  394. "properties": {
  395. "enabled": {"type": "boolean"},
  396. "polling_interval": {"$ref": "qmk.definitions.v1#/unsigned_int"},
  397. "timeout": {"$ref": "qmk.definitions.v1#/unsigned_int"}
  398. }
  399. }
  400. }
  401. },
  402. "tags": {
  403. "type": "array",
  404. "items": {"type": "string"}
  405. },
  406. "tapping": {
  407. "type": "object",
  408. "properties": {
  409. "force_hold": {"type": "boolean"},
  410. "force_hold_per_key": {"type": "boolean"},
  411. "ignore_mod_tap_interrupt": {"type": "boolean"},
  412. "ignore_mod_tap_interrupt_per_key": {"type": "boolean"},
  413. "permissive_hold": {"type": "boolean"},
  414. "permissive_hold_per_key": {"type": "boolean"},
  415. "retro": {"type": "boolean"},
  416. "retro_per_key": {"type": "boolean"},
  417. "term": {"$ref": "qmk.definitions.v1#/unsigned_int"},
  418. "term_per_key": {"type": "boolean"},
  419. "toggle": {"$ref": "qmk.definitions.v1#/unsigned_int"},
  420. }
  421. },
  422. "usb": {
  423. "type": "object",
  424. "additionalProperties": false,
  425. "properties": {
  426. "device_ver": {"$ref": "qmk.definitions.v1#/hex_number_4d"}, # Deprecated
  427. "device_version": {"$ref": "qmk.definitions.v1#/bcd_version"},
  428. "force_nkro": {"type": "boolean"},
  429. "pid": {"$ref": "qmk.definitions.v1#/hex_number_4d"},
  430. "vid": {"$ref": "qmk.definitions.v1#/hex_number_4d"},
  431. "max_power": {"$ref": "qmk.definitions.v1#/unsigned_int_8"},
  432. "no_startup_check": {"type": "boolean"},
  433. "polling_interval": {"$ref": "qmk.definitions.v1#/unsigned_int_8"},
  434. "shared_endpoint": {
  435. "type": "object",
  436. "additionalProperties": false,
  437. "properties": {
  438. "keyboard": {"type": "boolean"},
  439. "mouse": {"type": "boolean"}
  440. }
  441. },
  442. "suspend_wakeup_delay": {"$ref": "qmk.definitions.v1#/unsigned_int_8"},
  443. "wait_for": {"type": "boolean"},
  444. }
  445. },
  446. "qmk": {
  447. "type": "object",
  448. "additionalProperties": false,
  449. "properties": {
  450. "keys_per_scan": {"$ref": "qmk.definitions.v1#/unsigned_int_8"},
  451. "tap_keycode_delay": {"$ref": "qmk.definitions.v1#/unsigned_int_8"},
  452. "tap_capslock_delay": {"$ref": "qmk.definitions.v1#/unsigned_int_8"},
  453. }
  454. },
  455. "qmk_lufa_bootloader": {
  456. "type": "object",
  457. "additionalProperties": false,
  458. "properties": {
  459. "esc_output": {"$ref": "qmk.definitions.v1#/mcu_pin"},
  460. "esc_input": {"$ref": "qmk.definitions.v1#/mcu_pin"},
  461. "led": {"$ref": "qmk.definitions.v1#/mcu_pin"},
  462. "speaker": {"$ref": "qmk.definitions.v1#/mcu_pin"}
  463. }
  464. }
  465. }
  466. }