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.

397 lines
16 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", "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. "combo": {
  96. "type": "object",
  97. "properties": {
  98. "count": {"$ref": "qmk.definitions.v1#/unsigned_int"},
  99. "term": {"$ref": "qmk.definitions.v1#/unsigned_int"}
  100. }
  101. },
  102. "community_layouts": {
  103. "type": "array",
  104. "items": {"$ref": "qmk.definitions.v1#/filename"}
  105. },
  106. "features": {"$ref": "qmk.definitions.v1#/boolean_array"},
  107. "indicators": {
  108. "type": "object",
  109. "properties": {
  110. "caps_lock": {"$ref": "qmk.definitions.v1#/mcu_pin"},
  111. "num_lock": {"$ref": "qmk.definitions.v1#/mcu_pin"},
  112. "scroll_lock": {"$ref": "qmk.definitions.v1#/mcu_pin"}
  113. }
  114. },
  115. "layout_aliases": {
  116. "type": "object",
  117. "additionalProperties": {"$ref": "qmk.definitions.v1#/layout_macro"}
  118. },
  119. "layouts": {
  120. "type": "object",
  121. "propertyNames": {"$ref": "qmk.definitions.v1#/layout_macro"},
  122. "additionalProperties": {
  123. "type": "object",
  124. "additionalProperties": false,
  125. "properties": {
  126. "filename": {
  127. "type": "string"
  128. },
  129. "c_macro": {
  130. "type": "boolean"
  131. },
  132. "layout": {
  133. "type": "array",
  134. "items": {
  135. "type": "object",
  136. "additionalProperties": false,
  137. "properties": {
  138. "label": {"type": "string"},
  139. "matrix": {
  140. "type": "array",
  141. "minItems": 2,
  142. "maxItems": 2,
  143. "items": {
  144. "type": "number",
  145. "min": 0,
  146. "multipleOf": 1
  147. }
  148. },
  149. "r": {"$ref": "qmk.definitions.v1#/unsigned_decimal"},
  150. "rx": {"$ref": "qmk.definitions.v1#/unsigned_decimal"},
  151. "ry": {"$ref": "qmk.definitions.v1#/unsigned_decimal"},
  152. "h": {"$ref": "qmk.definitions.v1#/key_unit"},
  153. "w": {"$ref": "qmk.definitions.v1#/key_unit"},
  154. "x": {"$ref": "qmk.definitions.v1#/key_unit"},
  155. "y": {"$ref": "qmk.definitions.v1#/key_unit"}
  156. }
  157. }
  158. }
  159. }
  160. }
  161. },
  162. "leader_key": {
  163. "type": "object",
  164. "properties": {
  165. "timing": {"type": "boolean"},
  166. "strict_processing": {"type": "boolean"},
  167. "timeout": {"$ref": "qmk.definitions.v1#/unsigned_int"}
  168. }
  169. },
  170. "matrix_pins": {
  171. "type": "object",
  172. "additionalProperties": false,
  173. "properties": {
  174. "custom": {"type": "boolean"},
  175. "custom_lite": {"type": "boolean"},
  176. "ghost": {"type": "boolean"},
  177. "io_delay": {"$ref": "qmk.definitions.v1#/unsigned_int"},
  178. "direct": {
  179. "type": "array",
  180. "items": {"$ref": "qmk.definitions.v1#/mcu_pin_array"}
  181. },
  182. "cols": {"$ref": "qmk.definitions.v1#/mcu_pin_array"},
  183. "rows": {"$ref": "qmk.definitions.v1#/mcu_pin_array"},
  184. "unused": {"$ref": "qmk.definitions.v1#/mcu_pin_array"}
  185. }
  186. },
  187. "mouse_key": {
  188. "type": "object",
  189. "properties": {
  190. "enabled": {"type": "boolean"},
  191. "delay": {"$ref": "qmk.definitions.v1#/unsigned_int_8"}
  192. "interval": {"$ref": "qmk.definitions.v1#/unsigned_int_8"}
  193. "max_speed": {"$ref": "qmk.definitions.v1#/unsigned_int_8"}
  194. "time_to_max": {"$ref": "qmk.definitions.v1#/unsigned_int_8"}
  195. "wheel_delay": {"$ref": "qmk.definitions.v1#/unsigned_int_8"}
  196. }
  197. },
  198. "oneshot": {
  199. "type": "object",
  200. "properties": {
  201. "tap_toggle": {"$ref": "qmk.definitions.v1#/unsigned_int"},
  202. "timeout": {"$ref": "qmk.definitions.v1#/unsigned_int"}
  203. }
  204. },
  205. "rgblight": {
  206. "type": "object",
  207. "additionalProperties": false,
  208. "properties": {
  209. "animations": {
  210. "type": "object",
  211. "additionalProperties": {
  212. "type": "boolean"
  213. }
  214. },
  215. "brightness_steps": {"$ref": "qmk.definitions.v1#/unsigned_int"},
  216. "hue_steps": {"$ref": "qmk.definitions.v1#/unsigned_int"},
  217. "layers": {
  218. "type": "object",
  219. "additionalProperties": false,
  220. "properties": {
  221. "blink": {"type": "boolean"},
  222. "enabled": {"type": "boolean"},
  223. "max": {
  224. "type": "number",
  225. "min": 1,
  226. "max": 32,
  227. "multipleOf": 1
  228. },
  229. "override_rgb": {"type": "boolean"}
  230. }
  231. },
  232. "led_count": {"$ref": "qmk.definitions.v1#/unsigned_int"},
  233. "max_brightness": {"$ref": "qmk.definitions.v1#/unsigned_int_8"},
  234. "pin": {"$ref": "qmk.definitions.v1#/mcu_pin"},
  235. "rgbw": {"type": "boolean"},
  236. "saturation_steps": {"$ref": "qmk.definitions.v1#/unsigned_int"},
  237. "sleep": {"type": "boolean"},
  238. "split": {"type": "boolean"},
  239. "split_count": {
  240. "type": "array",
  241. "minLength": 2,
  242. "maxLength": 2,
  243. "items": {"$ref": "qmk.definitions.v1#/unsigned_int"}
  244. }
  245. }
  246. },
  247. "secure": {
  248. "type": "object",
  249. "additionalProperties": false,
  250. "properties": {
  251. "enabled": {"type": "boolean"},
  252. "unlock_timeout": {"$ref": "qmk.definitions.v1#/unsigned_int"},
  253. "idle_timeout": {"$ref": "qmk.definitions.v1#/unsigned_int"},
  254. "unlock_sequence": {
  255. "type": "array",
  256. "minLength": 1,
  257. "maxLength": 5,
  258. "items": {
  259. "type": "array",
  260. "minItems": 2,
  261. "maxItems": 2,
  262. "items": {
  263. "type": "number",
  264. "min": 0,
  265. "multipleOf": 1
  266. }
  267. }
  268. }
  269. }
  270. },
  271. "split": {
  272. "type": "object",
  273. "additionalProperties": false,
  274. "properties": {
  275. "enabled": {"type": "boolean"},
  276. "matrix_grid": {
  277. "type": "array",
  278. "items": {"$ref": "qmk.definitions.v1#/mcu_pin"}
  279. },
  280. "matrix_pins": {
  281. "type": "object",
  282. "additionalProperties": false,
  283. "properties": {
  284. "right": {
  285. "type": "object",
  286. "additionalProperties": false,
  287. "properties": {
  288. "direct": {
  289. "type": "array",
  290. "items": {"$ref": "qmk.definitions.v1#/mcu_pin_array"}
  291. },
  292. "cols": {"$ref": "qmk.definitions.v1#/mcu_pin_array"},
  293. "rows": {"$ref": "qmk.definitions.v1#/mcu_pin_array"},
  294. "unused": {"$ref": "qmk.definitions.v1#/mcu_pin_array"}
  295. }
  296. }
  297. }
  298. },
  299. "main": {
  300. "type": "string",
  301. "enum": ["eeprom", "left", "matrix_grid", "pin", "right"]
  302. },
  303. "soft_serial_pin": {"$ref": "qmk.definitions.v1#/mcu_pin"},
  304. "soft_serial_speed": {
  305. "type": "number",
  306. "min": 0,
  307. "max": 5,
  308. "multipleOf": 1
  309. },
  310. "transport": {
  311. "type": "object",
  312. "additionalProperties": false,
  313. "properties": {
  314. "protocol": {
  315. "type": "string",
  316. "enum": ["custom", "i2c", "serial", "serial_usart"]
  317. },
  318. "sync_matrix_state": {"type": "boolean"},
  319. "sync_modifiers": {"type": "boolean"}
  320. }
  321. },
  322. "usb_detect": {
  323. "type": "object",
  324. "additionalProperties": false,
  325. "properties": {
  326. "enabled": {"type": "boolean"},
  327. "polling_interval": {"$ref": "qmk.definitions.v1#/unsigned_int"},
  328. "timeout": {"$ref": "qmk.definitions.v1#/unsigned_int"}
  329. }
  330. }
  331. }
  332. },
  333. "tags": {
  334. "type": "array",
  335. "items": {"type": "string"}
  336. },
  337. "tapping": {
  338. "type": "object",
  339. "properties": {
  340. "force_hold": {"type": "boolean"},
  341. "force_hold_per_key": {"type": "boolean"},
  342. "ignore_mod_tap_interrupt": {"type": "boolean"},
  343. "ignore_mod_tap_interrupt_per_key": {"type": "boolean"},
  344. "permissive_hold": {"type": "boolean"},
  345. "permissive_hold_per_key": {"type": "boolean"},
  346. "retro": {"type": "boolean"},
  347. "retro_per_key": {"type": "boolean"},
  348. "term": {"$ref": "qmk.definitions.v1#/unsigned_int"},
  349. "term_per_key": {"type": "boolean"},
  350. "toggle": {"$ref": "qmk.definitions.v1#/unsigned_int"},
  351. }
  352. },
  353. "usb": {
  354. "type": "object",
  355. "additionalProperties": false,
  356. "properties": {
  357. "device_ver": {"$ref": "qmk.definitions.v1#/hex_number_4d"}, # Deprecated
  358. "device_version": {"$ref": "qmk.definitions.v1#/bcd_version"},
  359. "force_nkro": {"type": "boolean"},
  360. "pid": {"$ref": "qmk.definitions.v1#/hex_number_4d"},
  361. "vid": {"$ref": "qmk.definitions.v1#/hex_number_4d"},
  362. "max_power": {"$ref": "qmk.definitions.v1#/unsigned_int_8"},
  363. "no_startup_check": {"type": "boolean"},
  364. "polling_interval": {"$ref": "qmk.definitions.v1#/unsigned_int_8"},
  365. "shared_endpoint": {
  366. "type": "object",
  367. "additionalProperties": false,
  368. "properties": {
  369. "keyboard": {"type": "boolean"},
  370. "mouse": {"type": "boolean"}
  371. }
  372. },
  373. "suspend_wakeup_delay": {"$ref": "qmk.definitions.v1#/unsigned_int_8"},
  374. "wait_for": {"type": "boolean"},
  375. }
  376. },
  377. "qmk": {
  378. "type": "object",
  379. "additionalProperties": false,
  380. "properties": {
  381. "keys_per_scan": {"$ref": "qmk.definitions.v1#/unsigned_int_8"},
  382. "tap_keycode_delay": {"$ref": "qmk.definitions.v1#/unsigned_int_8"},
  383. "tap_capslock_delay": {"$ref": "qmk.definitions.v1#/unsigned_int_8"},
  384. }
  385. },
  386. "qmk_lufa_bootloader": {
  387. "type": "object",
  388. "additionalProperties": false,
  389. "properties": {
  390. "esc_output": {"$ref": "qmk.definitions.v1#/mcu_pin"},
  391. "esc_input": {"$ref": "qmk.definitions.v1#/mcu_pin"},
  392. "led": {"$ref": "qmk.definitions.v1#/mcu_pin"},
  393. "speaker": {"$ref": "qmk.definitions.v1#/mcu_pin"}
  394. }
  395. }
  396. }
  397. }