Crush 80 RGB-2.4G.json 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  1. {
  2. "name": "Crush 80",
  3. "vendorId": "0x320F",
  4. "productId": "0x5088",
  5. "keycodes": ["qmk_lighting"],
  6. "menus":
  7. [
  8. {
  9. "label": "Lighting",
  10. "content":
  11. [
  12. {
  13. "label": "Backlight",
  14. "content":
  15. [
  16. {
  17. "label": "Brightness",
  18. "type": "range",
  19. "options": [0, 9],
  20. "content": ["id_qmk_rgb_matrix_brightness", 3, 1]
  21. },
  22. {
  23. "label": "Effect",
  24. "type": "dropdown",
  25. "content": ["id_qmk_rgb_matrix_effect", 3, 2],
  26. "options":
  27. [
  28. [ "OFF_MODE", 0 ],
  29. [ "WAVE_MODE", 1 ],
  30. [ "COLOUR_CLOUD_MODE", 2 ],
  31. [ "VORTEX_MODE", 3 ],
  32. [ "MIX_COLOUR_MODE", 4 ],
  33. [ "BREATHE_MODE", 5 ],
  34. [ "LIGHT_MODE", 6 ],
  35. [ "SLOWLY_OFF_MODE", 7 ],
  36. [ "STONE_MODE", 8 ],
  37. [ "LASER_MODE", 9 ],
  38. [ "STARRY_MODE", 10 ],
  39. [ "FLOWERS_OPEN_MODE", 11 ],
  40. [ "TRAVERSE_MODE", 12 ],
  41. [ "WAVE_BAR_MODE", 13 ],
  42. [ "METEOR_MODE", 14 ],
  43. [ "RAIN_MODE", 15 ],
  44. [ "SCAN_MODE", 16 ],
  45. [ "TRIGGER_COLOUR_MODE", 17 ],
  46. [ "CENTER_SPREAD_MODE", 18 ]
  47. ]
  48. },
  49. {
  50. "showIf": "{id_qmk_rgb_matrix_effect} != 0",
  51. "label": "Effect Speed",
  52. "type": "range",
  53. "options": [0, 4],
  54. "content": ["id_qmk_rgb_matrix_effect_speed", 3, 3]
  55. },
  56. {
  57. "showIf": "{id_qmk_rgb_matrix_effect} != 0 && {id_qmk_rgb_matrix_effect} != 24 && {id_qmk_rgb_matrix_effect} != 28 && {id_qmk_rgb_matrix_effect} != 29 && {id_qmk_rgb_matrix_effect} != 32",
  58. "label": "Color",
  59. "type": "color",
  60. "content": ["id_qmk_rgb_matrix_color", 3, 4]
  61. }
  62. ]
  63. }
  64. ]
  65. }
  66. ],
  67. "matrix": { "rows": 8, "cols": 16 },
  68. "customKeycodes": [
  69. {"name": "2.4G MODE", "title": "Keyboard data output 2.4G", "shortName": "2.4G MODE"},
  70. {"name": "Bluetooth 1", "title": "Bluetooth working connection 1", "shortName": "BT 1"},
  71. {"name": "Bluetooth 2", "title": "Bluetooth working connection 2", "shortName": "BT 2"},
  72. {"name": "Bluetooth 3", "title": "Bluetooth working connection 3", "shortName": "BT 3"},
  73. {"name": "Work Pattern Change", "title": "BLE 2.4G USB Change", "shortName": "THREEMODE"},
  74. {"name": "LOCK WIN KEY", "title": "lock win key", "shortName": "WINLOCK"},
  75. {"name": "MAC WIN CHANGE", "title": "switch Windows Mac system", "shortName": "WINMAC"},
  76. {"name": "LED LOGO MODE", "title": "Logo Led Mode", "shortName": "LOMODE"},
  77. {"name": "LED LOGO COLOUR", "title": "Logo Led Colour", "shortName": "LOCOLOUR"},
  78. {"name": "LED LOGO POWER", "title": "Logo Led Power", "shortName": "LOPOWER"},
  79. {"name": "LED SIDE MODE", "title": "Side Led Mode", "shortName": "SIMODE"},
  80. {"name": "LED SIDE COLOUR", "title": "Side Led Colour", "shortName": "SICOLOUR"},
  81. {"name": "LED SIDE POWER", "title": "Side Led Power", "shortName": "SIPOWER"},
  82. {"name": "KEY SCAN DELAY", "title": "KEY SCAN DELAY", "shortName": "KSDELAY"},
  83. {"name": "LED SYSTEM POWER", "title": "Led System Power", "shortName": "SYSPOWER"},
  84. {"name": "BATTERY STATUS", "title": "Show Battery status", "shortName": "BATTST"}
  85. ],
  86. "layouts": {
  87. "keymap": [
  88. [
  89. { "c":"#aaaaaa" },
  90. { "w":1.0, "h":1.0, "x":0.0 }, "0,0",
  91. { "w":1.0, "h":1.0, "x":0.25}, "0,1",
  92. { "w":1.0, "h":1.0, "x":0.0 }, "0,2",
  93. { "w":1.0, "h":1.0, "x":0.0 }, "0,3",
  94. { "w":1.0, "h":1.0, "x":0.0 }, "0,4",
  95. { "c":"#cccccc" },
  96. { "w":1.0, "h":1.0, "x":0.25}, "0,5",
  97. { "w":1.0, "h":1.0, "x":0.0 }, "0,6",
  98. { "w":1.0, "h":1.0, "x":0.0 }, "0,7",
  99. { "w":1.0, "h":1.0, "x":0.0 }, "0,8",
  100. { "c":"#aaaaaa" },
  101. { "w":1.0, "h":1.0, "x":0.25}, "0,9",
  102. { "w":1.0, "h":1.0, "x":0.0 }, "0,10",
  103. { "w":1.0, "h":1.0, "x":0.0 }, "0,11",
  104. { "w":1.0, "h":1.0, "x":0.0 }, "0,12",
  105. { "w":1.0, "h":1.0, "x":0.25}, "4,12",
  106. { "c":"#cccccc" },
  107. { "w":1.0, "h":1.0, "x":2.75}, "0,13",
  108. { "w":1.0, "h":1.0, "x":0.0 }, "0,14",
  109. { "w":1.0, "h":1.0, "x":0.0 }, "0,15"
  110. ],
  111. [
  112. { "y":0.25 },
  113. { "c":"#aaaaaa" },
  114. { "w":1.0, "h":1.0, "x":0.0 }, "1,0",
  115. { "w":1.0, "h":1.0, "x":0.0 }, "1,1",
  116. { "w":1.0, "h":1.0, "x":0.0 }, "1,2",
  117. { "w":1.0, "h":1.0, "x":0.0 }, "1,3",
  118. { "w":1.0, "h":1.0, "x":0.0 }, "1,4",
  119. { "w":1.0, "h":1.0, "x":0.0 }, "1,5",
  120. { "w":1.0, "h":1.0, "x":0.0 }, "1,6",
  121. { "w":1.0, "h":1.0, "x":0.0 }, "1,7",
  122. { "w":1.0, "h":1.0, "x":0.0 }, "1,8",
  123. { "w":1.0, "h":1.0, "x":0.0 }, "1,9",
  124. { "w":1.0, "h":1.0, "x":0.0 }, "1,10",
  125. { "w":1.0, "h":1.0, "x":0.0 }, "1,11",
  126. { "w":1.0, "h":1.0, "x":0.0 }, "1,12",
  127. { "c":"#777777" },
  128. { "w":2.0, "h":1.0, "x":0.0 }, "1,13",
  129. { "w":1.0, "h":1.0, "x":0.5 }, "4,15",
  130. { "w":1.0, "h":1.0, "x":0.0 }, "1,13",
  131. { "c":"#cccccc" },
  132. { "w":1.0, "h":1.0, "x":0.25}, "1,14",
  133. { "w":1.0, "h":1.0, "x":0.0 }, "1,15",
  134. { "w":1.0, "h":1.0, "x":0.0 }, "3,14"
  135. ],
  136. [
  137. { "c":"#aaaaaa" },
  138. { "w":1.5, "h":1.0, "x":0.0 }, "2,0",
  139. { "w":1.0, "h":1.0, "x":0.0 }, "2,1",
  140. { "w":1.0, "h":1.0, "x":0.0 }, "2,2",
  141. { "w":1.0, "h":1.0, "x":0.0 }, "2,3",
  142. { "c":"#cccccc" },
  143. { "w":1.0, "h":1.0, "x":0.0 }, "2,4",
  144. { "w":1.0, "h":1.0, "x":0.0 }, "2,5",
  145. { "w":1.0, "h":1.0, "x":0.0 }, "2,6",
  146. { "w":1.0, "h":1.0, "x":0.0 }, "2,7",
  147. { "w":1.0, "h":1.0, "x":0.0 }, "2,8",
  148. { "c":"#aaaaaa" },
  149. { "w":1.0, "h":1.0, "x":0.0 }, "2,9",
  150. { "w":1.0, "h":1.0, "x":0.0 }, "2,10",
  151. { "w":1.0, "h":1.0, "x":0.0 }, "2,11",
  152. { "w":1.0, "h":1.0, "x":0.0 }, "2,12",
  153. { "c":"#777777" },
  154. { "w":1.5, "h":1.0, "x":0.0 }, "2,13",
  155. { "w":1.0, "h":1.0, "x":1.0, "w2":1.25, "h2":2.0, "x2":0.25 }, "3,13",
  156. { "c":"#cccccc" },
  157. { "w":1.0, "h":1.0, "x":0.75}, "2,14",
  158. { "w":1.0, "h":1.0, "x":0.0 }, "2,15",
  159. { "w":1.0, "h":1.0, "x":0.0 }, "3,15"
  160. ],
  161. [
  162. { "c":"#aaaaaa" },
  163. { "w":1.75, "h":1.0, "x":0.0 }, "3,0",
  164. { "w":1.0, "h":1.0, "x":0.0 }, "3,1",
  165. { "w":1.0, "h":1.0, "x":0.0 }, "3,2",
  166. { "w":1.0, "h":1.0, "x":0.0 }, "3,3",
  167. { "w":1.0, "h":1.0, "x":0.0 }, "3,4",
  168. { "w":1.0, "h":1.0, "x":0.0 }, "3,5",
  169. { "w":1.0, "h":1.0, "x":0.0 }, "3,6",
  170. { "w":1.0, "h":1.0, "x":0.0 }, "3,7",
  171. { "w":1.0, "h":1.0, "x":0.0 }, "3,8",
  172. { "w":1.0, "h":1.0, "x":0.0 }, "3,9",
  173. { "w":1.0, "h":1.0, "x":0.0 }, "3,10",
  174. { "w":1.0, "h":1.0, "x":0.0 }, "3,11",
  175. { "c":"#777777" },
  176. { "w":2.25, "h":1.0, "x":0.0 }, "3,13",
  177. { "w":1.0, "h":1.0, "x":0.25}, "3,12"
  178. ],
  179. [
  180. { "x":-2.5 },
  181. { "c":"#777777" },
  182. { "w":1.25, "h":1.0, "x":0.0 }, "4,0",
  183. { "w":1.0, "h":1.0, "x":0.0 }, "4,1",
  184. { "w":2.25, "h":1.0, "x":0.25}, "4,0",
  185. { "c":"#cccccc" },
  186. { "w":1.0, "h":1.0, "x":0.0 }, "4,2",
  187. { "w":1.0, "h":1.0, "x":0.0 }, "4,3",
  188. { "w":1.0, "h":1.0, "x":0.0 }, "4,4",
  189. { "w":1.0, "h":1.0, "x":0.0 }, "4,5",
  190. { "w":1.0, "h":1.0, "x":0.0 }, "4,6",
  191. { "w":1.0, "h":1.0, "x":0.0 }, "4,7",
  192. { "w":1.0, "h":1.0, "x":0.0 }, "4,8",
  193. { "w":1.0, "h":1.0, "x":0.0 }, "4,9",
  194. { "w":1.0, "h":1.0, "x":0.0 }, "4,10",
  195. { "w":1.0, "h":1.0, "x":0.0 }, "4,11",
  196. { "w":2.75, "h":1.0, "x":0.0 }, "4,13",
  197. { "w":1.0, "h":1.0, "x":3.75}, "4,14"
  198. ],
  199. [
  200. { "c":"#aaaaaa" },
  201. { "w":1.25, "h":1.0, "x":0.0 }, "5,0",
  202. { "w":1.25, "h":1.0, "x":0.0 }, "5,1",
  203. { "w":1.25, "h":1.0, "x":0.0 }, "5,2",
  204. { "c":"#777777" },
  205. { "w":6.25, "h":1.0, "x":0.0 }, "5,5",
  206. { "c":"#cccccc" },
  207. { "w":1.25, "h":1.0, "x":0.0 }, "5,9",
  208. { "w":1.25, "h":1.0, "x":0.0 }, "5,10",
  209. { "w":1.25, "h":1.0, "x":0.0 }, "5,11",
  210. { "w":1.25, "h":1.0, "x":0.0 }, "5,12",
  211. { "c":"#aaaaaa" },
  212. { "w":1.0, "h":1.0, "x":2.75}, "5,13",
  213. { "w":1.0, "h":1.0, "x":0.0 }, "5,14",
  214. { "w":1.0, "h":1.0, "x":0.0 }, "5,15"
  215. ],
  216. [
  217. { "c":"#777777" },
  218. { "w":2.75, "h":1.0, "x":3.75}, "5,4",
  219. { "w":1.25, "h":1.0, "x":0.0 }, "5,5",
  220. { "w":2.25, "h":1.0, "x":0.0 }, "5,8"
  221. ]
  222. ]
  223. }
  224. }