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.

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