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.

361 lines
15 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
  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. "maintainer": {"$ref": "qmk.definitions.v1#/text_identifier"},
  9. "manufacturer": {"$ref": "qmk.definitions.v1#/text_identifier"},
  10. "url": {
  11. "type": "string",
  12. "format": "uri"
  13. },
  14. "processor": {
  15. "type": "string",
  16. "enum": ["cortex-m0", "cortex-m0plus", "cortex-m3", "cortex-m4", "MKL26Z64", "MK20DX128", "MK20DX256", "MK66F18", "STM32F042", "STM32F072", "STM32F103", "STM32F303", "STM32F401", "STM32F407", "STM32F411", "STM32F446", "STM32G431", "STM32G474", "STM32L412", "STM32L422", "STM32L433", "STM32L443", "atmega16u2", "atmega32u2", "atmega16u4", "atmega32u4", "at90usb162", "at90usb646", "at90usb647", "at90usb1286", "at90usb1287", "atmega32a", "atmega328p", "atmega328", "attiny85", "unknown"]
  17. },
  18. "audio": {
  19. "type": "object",
  20. "additionalProperties": false,
  21. "properties": {
  22. "pins": {"$ref": "qmk.definitions.v1#/mcu_pin_array"},
  23. "voices": {"type": "boolean"}
  24. }
  25. },
  26. "backlight": {
  27. "type": "object",
  28. "additionalProperties": false,
  29. "properties": {
  30. "breathing": {"type": "boolean"},
  31. "breathing_period": {"$ref": "qmk.definitions.v1#/unsigned_int_8"},
  32. "levels": {
  33. "type": "number",
  34. "min": 1,
  35. "max": 31,
  36. "multipleOf": 1
  37. },
  38. "pin": {"$ref": "qmk.definitions.v1#/mcu_pin"}
  39. }
  40. },
  41. "bluetooth": {
  42. "type": "object",
  43. "additionalProperties": false,
  44. "properties": {
  45. "driver": {
  46. "type": "string",
  47. "enum": ["AdafruitBLE", "RN42"]
  48. },
  49. "lto": {"type": "boolean"},
  50. }
  51. },
  52. "board": {
  53. "type": "string",
  54. "minLength": 2,
  55. "pattern": "^[a-zA-Z_][0-9a-zA-Z_]*$"
  56. },
  57. "bootloader": {
  58. "type": "string",
  59. "enum": ["atmel-dfu", "bootloadhid", "bootloadHID", "caterina", "halfkay", "kiibohd", "lufa-dfu", "lufa-ms", "micronucleus", "qmk-dfu", "qmk-hid", "stm32-dfu", "stm32duino", "unknown", "usbasploader", "USBasp", "tinyuf2"],
  60. },
  61. "bootloader_instructions": {
  62. "type": "string",
  63. "description": "Instructions for putting the keyboard into a mode that allows for firmware flashing."
  64. },
  65. "build": {
  66. "type": "object",
  67. "additionalProperties": false,
  68. "properties": {
  69. "debounce_type": {
  70. "type": "string",
  71. "enum": ["custom", "eager_pk", "eager_pr", "sym_defer_pk", "sym_eager_pk"]
  72. },
  73. "firmware_format": {
  74. "type": "string",
  75. "enum": ["bin", "hex", "uf2"]
  76. },
  77. "lto": {"type": "boolean"},
  78. }
  79. },
  80. "diode_direction": {
  81. "type": "string",
  82. "enum": ["COL2ROW", "ROW2COL"]
  83. },
  84. "debounce": {"$ref": "qmk.definitions.v1#/unsigned_int"},
  85. "combo": {
  86. "type": "object",
  87. "properties": {
  88. "count": {"$ref": "qmk.definitions.v1#/unsigned_int"},
  89. "term": {"$ref": "qmk.definitions.v1#/unsigned_int"}
  90. }
  91. },
  92. "community_layouts": {
  93. "type": "array",
  94. "items": {"$ref": "qmk.definitions.v1#/filename"}
  95. },
  96. "features": {"$ref": "qmk.definitions.v1#/boolean_array"},
  97. "indicators": {
  98. "type": "object",
  99. "properties": {
  100. "caps_lock": {"$ref": "qmk.definitions.v1#/mcu_pin"},
  101. "num_lock": {"$ref": "qmk.definitions.v1#/mcu_pin"},
  102. "scroll_lock": {"$ref": "qmk.definitions.v1#/mcu_pin"}
  103. }
  104. },
  105. "layout_aliases": {
  106. "type": "object",
  107. "additionalProperties": {"$ref": "qmk.definitions.v1#/layout_macro"}
  108. },
  109. "layouts": {
  110. "type": "object",
  111. "additionalProperties": {
  112. "type": "object",
  113. "additionalProperties": false,
  114. "properties": {
  115. "filename": {
  116. "type": "string"
  117. },
  118. "c_macro": {
  119. "type": "boolean"
  120. },
  121. "layout": {
  122. "type": "array",
  123. "items": {
  124. "type": "object",
  125. "additionalProperties": false,
  126. "properties": {
  127. "label": {"type": "string"},
  128. "matrix": {
  129. "type": "array",
  130. "minItems": 2,
  131. "maxItems": 2,
  132. "items": {
  133. "type": "number",
  134. "min": 0,
  135. "multipleOf": 1
  136. }
  137. },
  138. "r": {"$ref": "qmk.definitions.v1#/unsigned_decimal"},
  139. "rx": {"$ref": "qmk.definitions.v1#/unsigned_decimal"},
  140. "ry": {"$ref": "qmk.definitions.v1#/unsigned_decimal"},
  141. "h": {"$ref": "qmk.definitions.v1#/key_unit"},
  142. "w": {"$ref": "qmk.definitions.v1#/key_unit"},
  143. "x": {"$ref": "qmk.definitions.v1#/key_unit"},
  144. "y": {"$ref": "qmk.definitions.v1#/key_unit"}
  145. }
  146. }
  147. }
  148. }
  149. }
  150. },
  151. "leader_key": {
  152. "type": "object",
  153. "properties": {
  154. "timing": {"type": "boolean"},
  155. "strict_processing": {"type": "boolean"},
  156. "timeout": {"$ref": "qmk.definitions.v1#/unsigned_int"}
  157. }
  158. },
  159. "matrix_pins": {
  160. "type": "object",
  161. "additionalProperties": false,
  162. "properties": {
  163. "custom": {"type": "boolean"},
  164. "custom_lite": {"type": "boolean"},
  165. "ghost": {"type": "boolean"},
  166. "io_delay": {"$ref": "qmk.definitions.v1#/unsigned_int"},
  167. "direct": {
  168. "type": "array",
  169. "items": {"$ref": "qmk.definitions.v1#/mcu_pin_array"}
  170. },
  171. "cols": {"$ref": "qmk.definitions.v1#/mcu_pin_array"},
  172. "rows": {"$ref": "qmk.definitions.v1#/mcu_pin_array"},
  173. "unused": {"$ref": "qmk.definitions.v1#/mcu_pin_array"}
  174. }
  175. },
  176. "mouse_key": {
  177. "type": "object",
  178. "properties": {
  179. "enabled": {"type": "boolean"},
  180. "delay": {"$ref": "qmk.definitions.v1#/unsigned_int_8"}
  181. "interval": {"$ref": "qmk.definitions.v1#/unsigned_int_8"}
  182. "max_speed": {"$ref": "qmk.definitions.v1#/unsigned_int_8"}
  183. "time_to_max": {"$ref": "qmk.definitions.v1#/unsigned_int_8"}
  184. "wheel_delay": {"$ref": "qmk.definitions.v1#/unsigned_int_8"}
  185. }
  186. },
  187. "oneshot": {
  188. "type": "object",
  189. "properties": {
  190. "tap_toggle": {"$ref": "qmk.definitions.v1#/unsigned_int"},
  191. "timeout": {"$ref": "qmk.definitions.v1#/unsigned_int"}
  192. }
  193. },
  194. "rgblight": {
  195. "type": "object",
  196. "additionalProperties": false,
  197. "properties": {
  198. "animations": {
  199. "type": "object",
  200. "additionalProperties": {
  201. "type": "boolean"
  202. }
  203. },
  204. "brightness_steps": {"$ref": "qmk.definitions.v1#/unsigned_int"},
  205. "hue_steps": {"$ref": "qmk.definitions.v1#/unsigned_int"},
  206. "layers": {
  207. "type": "object",
  208. "additionalProperties": false,
  209. "properties": {
  210. "blink": {"type": "boolean"},
  211. "enabled": {"type": "boolean"},
  212. "max": {
  213. "type": "number",
  214. "min": 1,
  215. "max": 32,
  216. "multipleOf": 1
  217. },
  218. "override_rgb": {"type": "boolean"}
  219. }
  220. },
  221. "led_count": {"$ref": "qmk.definitions.v1#/unsigned_int"},
  222. "max_brightness": {"$ref": "qmk.definitions.v1#/unsigned_int_8"},
  223. "pin": {"$ref": "qmk.definitions.v1#/mcu_pin"},
  224. "rgbw": {"type": "boolean"},
  225. "saturation_steps": {"$ref": "qmk.definitions.v1#/unsigned_int"},
  226. "sleep": {"type": "boolean"},
  227. "split": {"type": "boolean"},
  228. "split_count": {
  229. "type": "array",
  230. "minLength": 2,
  231. "maxLength": 2,
  232. "items": {"$ref": "qmk.definitions.v1#/unsigned_int"}
  233. }
  234. }
  235. },
  236. "split": {
  237. "type": "object",
  238. "additionalProperties": false,
  239. "properties": {
  240. "enabled": {"type": "boolean"},
  241. "matrix_grid": {
  242. "type": "array",
  243. "items": {"$ref": "qmk.definitions.v1#/mcu_pin"}
  244. },
  245. "matrix_pins": {
  246. "type": "object",
  247. "additionalProperties": false,
  248. "properties": {
  249. "right": {
  250. "type": "object",
  251. "additionalProperties": false,
  252. "properties": {
  253. "direct": {
  254. "type": "array",
  255. "items": {"$ref": "qmk.definitions.v1#/mcu_pin_array"}
  256. },
  257. "cols": {"$ref": "qmk.definitions.v1#/mcu_pin_array"},
  258. "rows": {"$ref": "qmk.definitions.v1#/mcu_pin_array"},
  259. "unused": {"$ref": "qmk.definitions.v1#/mcu_pin_array"}
  260. }
  261. }
  262. }
  263. },
  264. "main": {
  265. "type": "string",
  266. "enum": ["eeprom", "left", "matrix_grid", "pin", "right"]
  267. },
  268. "soft_serial_pin": {"$ref": "qmk.definitions.v1#/mcu_pin"},
  269. "soft_serial_speed": {
  270. "type": "number",
  271. "min": 0,
  272. "max": 5,
  273. "multipleOf": 1
  274. },
  275. "transport": {
  276. "type": "object",
  277. "additionalProperties": false,
  278. "properties": {
  279. "protocol": {
  280. "type": "string",
  281. "enum": ["custom", "i2c", "serial", "serial_usart"]
  282. },
  283. "sync_matrix_state": {"type": "boolean"},
  284. "sync_modifiers": {"type": "boolean"}
  285. }
  286. },
  287. "usb_detect": {
  288. "type": "object",
  289. "additionalProperties": false,
  290. "properties": {
  291. "enabled": {"type": "boolean"},
  292. "polling_interval": {"$ref": "qmk.definitions.v1#/unsigned_int"},
  293. "timeout": {"$ref": "qmk.definitions.v1#/unsigned_int"}
  294. }
  295. }
  296. }
  297. },
  298. "tags": {
  299. "type": "array",
  300. "items": {"type": "string"}
  301. },
  302. "tapping": {
  303. "type": "object",
  304. "properties": {
  305. "force_hold": {"type": "boolean"},
  306. "force_hold_per_key": {"type": "boolean"},
  307. "ignore_mod_tap_interrupt": {"type": "boolean"},
  308. "ignore_mod_tap_interrupt_per_key": {"type": "boolean"},
  309. "permissive_hold": {"type": "boolean"},
  310. "permissive_hold_per_key": {"type": "boolean"},
  311. "retro": {"type": "boolean"},
  312. "retro_per_key": {"type": "boolean"},
  313. "term": {"$ref": "qmk.definitions.v1#/unsigned_int"},
  314. "term_per_key": {"type": "boolean"},
  315. "toggle": {"$ref": "qmk.definitions.v1#/unsigned_int"},
  316. }
  317. },
  318. "usb": {
  319. "type": "object",
  320. "additionalProperties": false,
  321. "properties": {
  322. "device_ver": {"$ref": "qmk.definitions.v1#/hex_number_4d"},
  323. "force_nkro": {"type": "boolean"},
  324. "pid": {"$ref": "qmk.definitions.v1#/hex_number_4d"},
  325. "vid": {"$ref": "qmk.definitions.v1#/hex_number_4d"},
  326. "max_power": {"$ref": "qmk.definitions.v1#/unsigned_int_8"},
  327. "no_startup_check": {"type": "boolean"},
  328. "polling_interval": {"$ref": "qmk.definitions.v1#/unsigned_int_8"},
  329. "shared_endpoint": {
  330. "type": "object",
  331. "additionalProperties": false,
  332. "properties": {
  333. "keyboard": {"type": "boolean"},
  334. "mouse": {"type": "boolean"}
  335. }
  336. },
  337. "suspend_wakeup_delay": {"$ref": "qmk.definitions.v1#/unsigned_int_8"},
  338. "wait_for": {"type": "boolean"},
  339. }
  340. },
  341. "qmk": {
  342. "type": "object",
  343. "additionalProperties": false,
  344. "properties": {
  345. "keys_per_scan": {"$ref": "qmk.definitions.v1#/unsigned_int_8"},
  346. "tap_keycode_delay": {"$ref": "qmk.definitions.v1#/unsigned_int_8"},
  347. "tap_capslock_delay": {"$ref": "qmk.definitions.v1#/unsigned_int_8"},
  348. }
  349. },
  350. "qmk_lufa_bootloader": {
  351. "type": "object",
  352. "additionalProperties": false,
  353. "properties": {
  354. "esc_output": {"$ref": "qmk.definitions.v1#/mcu_pin"},
  355. "esc_input": {"$ref": "qmk.definitions.v1#/mcu_pin"},
  356. "led": {"$ref": "qmk.definitions.v1#/mcu_pin"},
  357. "speaker": {"$ref": "qmk.definitions.v1#/mcu_pin"}
  358. }
  359. }
  360. }
  361. }