pmo_p75_gaming_keyboard_2p4g.json 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276
  1. {
  2. "name": "PMO P75 Gaming Keyboard",
  3. "vendorId": "0x36B0",
  4. "productId": "0x3002",
  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, 90],
  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. [ "BL_OFF_MODE", 0 ],
  29. [ "BL_WAVE_MODE", 1 ],
  30. [ "BL_MIX_MODE", 2 ],
  31. [ "BL_BREATH_MODE", 3 ],
  32. [ "BL_LIGHT_MODE", 4 ],
  33. [ "BL_ONE_KEY_MODE", 5 ],
  34. [ "BL_RIPPLE_MODE", 6 ],
  35. [ "BL_BIG_WINDMILL_MODE", 7 ],
  36. [ "BL_LENGTHWAYS_WAVE_MODE", 8 ],
  37. [ "BL_SNAKE_MODE", 9 ],
  38. [ "BL_SPRING_MODE", 10 ],
  39. [ "BL_WING_MODE", 11 ],
  40. [ "BL_FLOWER_MODE", 12 ],
  41. [ "BL_RAIN_MODE", 13 ],
  42. [ "BL_RIPPLE_KEY_MODE", 14 ],
  43. [ "BL_LASER_MODE", 15 ],
  44. [ "BL_SHRINK_MODE", 16 ],
  45. [ "BL_DOUBLE_DRAGON_MODE", 17 ],
  46. [ "BL_CROSS_MODE", 18 ],
  47. [ "BL_DOUBLE_SPRING_MODE", 19 ],
  48. [ "BL_RIPPLE_OFF_MODE", 20 ]
  49. ]
  50. },
  51. {
  52. "showIf": "{id_qmk_rgb_matrix_effect} != 0",
  53. "label": "Effect Speed",
  54. "type": "range",
  55. "options": [0, 4],
  56. "content": ["id_qmk_rgb_matrix_effect_speed", 3, 3]
  57. },
  58. {
  59. "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",
  60. "label": "Color",
  61. "type": "color",
  62. "content": ["id_qmk_rgb_matrix_color", 3, 4]
  63. }
  64. ]
  65. },
  66. {
  67. "label": "logo",
  68. "content":
  69. [
  70. {
  71. "showIf": "{id_qmk_rgblight_effect} != 0",
  72. "label": "Brightness",
  73. "type": "range",
  74. "options": [0, 108],
  75. "content": ["id_qmk_rgblight_brightness", 2, 1]
  76. },
  77. {
  78. "label": "Effect",
  79. "type": "dropdown",
  80. "content": ["id_qmk_rgblight_effect", 2, 2],
  81. "options":
  82. [
  83. [ "LG_OFF_MODE", 0 ],
  84. [ "LG_WAVE_MODE", 1 ],
  85. [ "LG_MIX_MODE", 2 ],
  86. [ "LG_BREATH_MODE", 3 ],
  87. [ "LG_LIGHT_MODE", 4 ]
  88. ]
  89. },
  90. {
  91. "showIf": "{id_qmk_rgblight_effect} != 0",
  92. "label": "Effect Speed",
  93. "type": "range",
  94. "options": [0, 9],
  95. "content": ["id_qmk_rgblight_effect_speed", 2, 3]
  96. },
  97. {
  98. "showIf": "{id_qmk_rgblight_effect} != 0 && {id_qmk_rgblight_effect} != 2",
  99. "label": "Color",
  100. "type": "color",
  101. "content": ["id_qmk_rgblight_color", 2, 4]
  102. }
  103. ]
  104. }
  105. ]
  106. }
  107. ],
  108. "customKeycodes": [
  109. {"name": "RESET", "title": "Customize the reset button", "shortName": "RESET" },
  110. {"name": "BLE1", "title": "Set to Bluetooth Channel 1 working mode", "shortName": "MD_BLE1" },
  111. {"name": "BLE2", "title": "Set to Bluetooth Channel 2 working mode", "shortName": "MD_BLE2" },
  112. {"name": "BLE3", "title": "Set to Bluetooth Channel 3 working mode", "shortName": "MD_BLE3" },
  113. {"name": "2.4G", "title": "Set to 2.4G working mode", "shortName": "MD_24G" },
  114. {"name": "USB", "title": "Set to USB working mode", "shortName": "MD_USB" },
  115. {"name": "BAT", "title": "Querying Battery Status", "shortName": "QK_BAT" },
  116. {"name": "SIX_N", "title": "Full-key six-key switch", "shortName": "SIX_N" },
  117. {"name": "MW_CH", "title": "IOS Windows System switch", "shortName": "MW_CH" },
  118. {"name": "WLO", "title": "Lock WIN", "shortName": "QK_WLO" },
  119. {"name": "TEST", "title": "Test Keyboard Colour", "shortName": "TEST" },
  120. {"name": "WASD", "title": "Switch between WASD and the arrow keys", "shortName": "WASD" },
  121. {"name": "QK_DEB", "title": "Number of times that the key shakes off", "shortName": "QK_DEB" },
  122. {"name": "FN_MEDIA", "title": "Switch F area and number keys", "shortName": "FN_MEDIA"},
  123. {"name": "WHEEL_CH", "title": "Change Encoder Functions", "shortName": "WHEEL_CH"},
  124. {"name": "BL_TOG", "title": "Toggle Backlight on or off", "shortName": "BL_TOG" },
  125. {"name": "BL_MO", "title": "Cycle through modes", "shortName": "BL_MOD" },
  126. {"name": "BL_RM", "title": "Cycle through modes in reverse", "shortName": "BL_RMOD" },
  127. {"name": "BL_HUI", "title": "Backlight Increase hue", "shortName": "BL_HUI" },
  128. {"name": "BL_HUD", "title": "Backlight Decrease hue", "shortName": "BL_HUD" },
  129. {"name": "BL_VAI", "title": "Backlight Increase value (brightness)", "shortName": "BL_VAI" },
  130. {"name": "BL_VAD", "title": "Backlight Decrease value (brightness)", "shortName": "BL_VAD" },
  131. {"name": "BL_SPI", "title": "Backlight Increase effect speed", "shortName": "BL_SPI" },
  132. {"name": "BL_SPD", "title": "Backlight Decrease effect speed", "shortName": "BL_SPD" },
  133. {"name": "LG_TOG", "title": "Toggle logo lighting on or off", "shortName": "LG_TOG" },
  134. {"name": "LG_MO", "title": "Cycle through modes", "shortName": "LG_MOD" },
  135. {"name": "LG_RM", "title": "Cycle through modes in reverse", "shortName": "LG_RMOD" },
  136. {"name": "LG_HUI", "title": "logo Increase hue", "shortName": "LG_HUI" },
  137. {"name": "LG_HUD", "title": "logo Decrease hue", "shortName": "LG_HUD" },
  138. {"name": "LG_VAI", "title": "logo Increase value (brightness)", "shortName": "LG_VAI" },
  139. {"name": "LG_VAD", "title": "logo Decrease value (brightness)", "shortName": "LG_VAD" },
  140. {"name": "LG_SPI", "title": "logo Increase effect speed", "shortName": "LG_SPI" },
  141. {"name": "LG_SPD", "title": "logo Decrease effect speed", "shortName": "LG_SPD" },
  142. {"name": "LT_TOG", "title": "Toggle Lattice on or off", "shortName": "LT_TOG" },
  143. {"name": "LT_MO", "title": "Cycle through modes", "shortName": "LT_MOD" },
  144. {"name": "LT_RM", "title": "Cycle through modes in reverse", "shortName": "LT_RMOD" },
  145. {"name": "LT_HUI", "title": "Lattice Increase hue", "shortName": "LT_HUI" },
  146. {"name": "LT_HUD", "title": "Lattice Decrease hue", "shortName": "LT_HUD" },
  147. {"name": "LT_VAI", "title": "Lattice Increase value (brightness)", "shortName": "LT_VAI" },
  148. {"name": "LT_VAD", "title": "Lattice Decrease value (brightness)", "shortName": "LT_VAD" },
  149. {"name": "LT_SPI", "title": "Lattice Increase effect speed", "shortName": "LT_SPI" },
  150. {"name": "LT_SPD", "title": "Lattice Decrease effect speed", "shortName": "LT_SPD" }
  151. ],
  152. "matrix": { "rows": 6, "cols": 16 },
  153. "layouts": {
  154. "keymap": [
  155. [
  156. { "c":"#777777" },
  157. { "w":1.0, "h":1.0, "x":0.0 }, "0,0",
  158. { "c":"#cccccc" },
  159. { "w":1.0, "h":1.0, "x":0.5 }, "0,1",
  160. { "w":1.0, "h":1.0, "x":0.0 }, "0,2",
  161. { "w":1.0, "h":1.0, "x":0.0 }, "0,3",
  162. { "w":1.0, "h":1.0, "x":0.0 }, "0,4",
  163. { "w":1.0, "h":1.0, "x":0.2 }, "0,5",
  164. { "w":1.0, "h":1.0, "x":0.0 }, "0,6",
  165. { "w":1.0, "h":1.0, "x":0.0 }, "0,7",
  166. { "w":1.0, "h":1.0, "x":0.0 }, "0,8",
  167. { "w":1.0, "h":1.0, "x":0.2 }, "0,9",
  168. { "w":1.0, "h":1.0, "x":0.0 }, "0,10",
  169. { "w":1.0, "h":1.0, "x":0.0 }, "0,11",
  170. { "w":1.0, "h":1.0, "x":0.0 }, "0,12",
  171. {"c": "#777777","w": 1.0, "h": 1.0, "x":1.1, "fa": [1,0,0,0,0,0,0,0,0,1]},
  172. "0,14\n\n\n\n\n\n\n\n\n e0 "
  173. ],
  174. [
  175. { "c":"#aaaaaa" },
  176. { "w":1.0, "h":1.0, "x":0.0 }, "1,0",
  177. { "w":1.0, "h":1.0, "x":0.0 }, "1,1",
  178. { "w":1.0, "h":1.0, "x":0.0 }, "1,2",
  179. { "w":1.0, "h":1.0, "x":0.0 }, "1,3",
  180. { "w":1.0, "h":1.0, "x":0.0 }, "1,4",
  181. { "w":1.0, "h":1.0, "x":0.0 }, "1,5",
  182. { "w":1.0, "h":1.0, "x":0.0 }, "1,6",
  183. { "w":1.0, "h":1.0, "x":0.0 }, "1,7",
  184. { "w":1.0, "h":1.0, "x":0.0 }, "1,8",
  185. { "w":1.0, "h":1.0, "x":0.0 }, "1,9",
  186. { "w":1.0, "h":1.0, "x":0.0 }, "1,10",
  187. { "w":1.0, "h":1.0, "x":0.0 }, "1,11",
  188. { "w":1.0, "h":1.0, "x":0.0 }, "1,12",
  189. { "c":"#cccccc" },
  190. { "w":2.0, "h":1.0, "x":0.0 }, "1,13",
  191. { "w":1.0, "h":1.0, "x":0.0 }, "2,15"
  192. ],
  193. [
  194. { "c":"#cccccc" },
  195. { "w":1.5, "h":1.0, "x":0.0 }, "2,0",
  196. { "c":"#aaaaaa" },
  197. { "w":1.0, "h":1.0, "x":0.0 }, "2,1",
  198. { "w":1.0, "h":1.0, "x":0.0 }, "2,2",
  199. { "w":1.0, "h":1.0, "x":0.0 }, "2,3",
  200. { "w":1.0, "h":1.0, "x":0.0 }, "2,4",
  201. { "w":1.0, "h":1.0, "x":0.0 }, "2,5",
  202. { "w":1.0, "h":1.0, "x":0.0 }, "2,6",
  203. { "w":1.0, "h":1.0, "x":0.0 }, "2,7",
  204. { "w":1.0, "h":1.0, "x":0.0 }, "2,8",
  205. { "w":1.0, "h":1.0, "x":0.0 }, "2,9",
  206. { "w":1.0, "h":1.0, "x":0.0 }, "2,10",
  207. { "w":1.0, "h":1.0, "x":0.0 }, "2,11",
  208. { "w":1.0, "h":1.0, "x":0.0 }, "2,12",
  209. { "w":1.5, "h":1.0, "x":0.0 }, "2,13",
  210. { "c":"#cccccc" },
  211. { "w":1.0, "h":1.0, "x":0.0 }, "3,14"
  212. ],
  213. [
  214. { "c":"#cccccc" },
  215. { "w":1.75, "h":1.0, "x":0.0 }, "3,0",
  216. { "c":"#aaaaaa" },
  217. { "w":1.0, "h":1.0, "x":0.0 }, "3,1",
  218. { "w":1.0, "h":1.0, "x":0.0 }, "3,2",
  219. { "w":1.0, "h":1.0, "x":0.0 }, "3,3",
  220. { "w":1.0, "h":1.0, "x":0.0 }, "3,4",
  221. { "w":1.0, "h":1.0, "x":0.0 }, "3,5",
  222. { "w":1.0, "h":1.0, "x":0.0 }, "3,6",
  223. { "w":1.0, "h":1.0, "x":0.0 }, "3,7",
  224. { "w":1.0, "h":1.0, "x":0.0 }, "3,8",
  225. { "w":1.0, "h":1.0, "x":0.0 }, "3,9",
  226. { "w":1.0, "h":1.0, "x":0.0 }, "3,10",
  227. { "w":1.0, "h":1.0, "x":0.0 }, "3,11",
  228. { "c":"#777777" },
  229. { "w":2.25, "h":1.0, "x":0.0 }, "3,13",
  230. { "c":"#cccccc" },
  231. { "w":1.0, "h":1.0, "x":0.0 }, "3,15"
  232. ],
  233. [
  234. { "c":"#cccccc" },
  235. { "w":2.25, "h":1.0, "x":0.0 }, "4,0",
  236. { "c":"#aaaaaa" },
  237. { "w":1.0, "h":1.0, "x":0.0 }, "4,2",
  238. { "w":1.0, "h":1.0, "x":0.0 }, "4,3",
  239. { "w":1.0, "h":1.0, "x":0.0 }, "4,4",
  240. { "w":1.0, "h":1.0, "x":0.0 }, "4,5",
  241. { "w":1.0, "h":1.0, "x":0.0 }, "4,6",
  242. { "w":1.0, "h":1.0, "x":0.0 }, "4,7",
  243. { "w":1.0, "h":1.0, "x":0.0 }, "4,8",
  244. { "w":1.0, "h":1.0, "x":0.0 }, "4,9",
  245. { "w":1.0, "h":1.0, "x":0.0 }, "4,10",
  246. { "w":1.0, "h":1.0, "x":0.0 }, "4,11",
  247. { "c":"#cccccc" },
  248. { "w":1.75, "h":1.0, "x":0.0 }, "4,13",
  249. { "c":"#777777" },
  250. { "w":1.0, "h":1.0, "x":0.0 }, "4,14",
  251. { "c":"#cccccc" },
  252. { "w":1.0, "h":1.0, "x":0.0 }, "4,15"
  253. ],
  254. [
  255. { "c":"#cccccc" },
  256. { "w":1.25, "h":1.0, "x":0.0 }, "5,0",
  257. { "w":1.25, "h":1.0, "x":0.0 }, "5,1",
  258. { "w":1.25, "h":1.0, "x":0.0 }, "5,2",
  259. { "c":"#aaaaaa" },
  260. { "w":6.25, "h":1.0, "x":0.0 }, "5,5",
  261. { "c":"#cccccc" },
  262. { "w":1.25, "h":1.0, "x":0.0 }, "5,10",
  263. { "w":1.25, "h":1.0, "x":0.0 }, "5,12",
  264. { "c":"#777777" },
  265. { "w":1.0, "h":1.0, "x":0.5 }, "5,13",
  266. { "w":1.0, "h":1.0, "x":0.0 }, "5,14",
  267. { "w":1.0, "h":1.0, "x":0.0 }, "5,15"
  268. ]
  269. ]
  270. }
  271. }