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.

150 lines
5.5 KiB

Add GreatPad macropad under gkeyboard (#22696) * Add GreatPad under gkeyboard Add GreatPad macropad * Update keyboards/gkeyboard/greatpad/config.h Co-authored-by: jack <0x6a73@protonmail.com> * Update keyboards/gkeyboard/greatpad/greatpad.c Co-authored-by: jack <0x6a73@protonmail.com> * Update keyboards/gkeyboard/greatpad/info.json Co-authored-by: jack <0x6a73@protonmail.com> * Update keyboards/gkeyboard/greatpad/info.json Co-authored-by: jack <0x6a73@protonmail.com> * Update keyboards/gkeyboard/greatpad/keymaps/default/keymap.c Co-authored-by: jack <0x6a73@protonmail.com> * Update keyboards/gkeyboard/greatpad/keymaps/default/keymap.c Co-authored-by: jack <0x6a73@protonmail.com> * Update keyboards/gkeyboard/greatpad/keymaps/via/keymap.c Co-authored-by: jack <0x6a73@protonmail.com> * Update keyboards/gkeyboard/greatpad/keymaps/via/keymap.c Co-authored-by: jack <0x6a73@protonmail.com> * Add a license header Add a license header to glcdfont.c * Update glcdfont.c * delete file * Revert "delete file" This reverts commit 388e6f03e47bd646df374e37cd82fc3c46330b38. * Update keyboards/gkeyboard/greatpad/mcuconf.h Co-authored-by: jack <0x6a73@protonmail.com> * Update .vscode/settings.json Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/gkeyboard/greatpad/readme.md Co-authored-by: Ryan <fauxpark@gmail.com> * Enable encoder Enable encoder in file info.json * Update keyboards/gkeyboard/greatpad/greatpad.c Co-authored-by: Drashna Jaelre <drashna@live.com> * Update info.json Run qmk format-json -i file info.json --------- Co-authored-by: jack <0x6a73@protonmail.com> Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Drashna Jaelre <drashna@live.com>
4 months ago
  1. {
  2. "manufacturer": "gkeyboard",
  3. "keyboard_name": "GreatPad",
  4. "maintainer": "gkeyboard",
  5. "bootloader": "rp2040",
  6. "diode_direction": "COL2ROW",
  7. "dynamic_keymap": {
  8. "layer_count": 10
  9. },
  10. "encoder": {
  11. "rotary": [
  12. {"pin_a": "GP25", "pin_b": "GP26"},
  13. {"pin_a": "GP0", "pin_b": "GP1"}
  14. ]
  15. },
  16. "features": {
  17. "bootmagic": true,
  18. "command": false,
  19. "console": false,
  20. "encoder": true,
  21. "extrakey": true,
  22. "mousekey": true,
  23. "nkro": true,
  24. "oled": true,
  25. "rgb_matrix": true
  26. },
  27. "matrix_pins": {
  28. "cols": ["GP24", "GP23", "GP16", "GP11", "GP10"],
  29. "rows": ["GP6", "GP5", "GP4", "GP3", "GP2"]
  30. },
  31. "processor": "RP2040",
  32. "rgb_matrix": {
  33. "animations": {
  34. "alphas_mods": true,
  35. "band_pinwheel_sat": true,
  36. "band_pinwheel_val": true,
  37. "band_sat": true,
  38. "band_spiral_sat": true,
  39. "band_spiral_val": true,
  40. "band_val": true,
  41. "breathing": true,
  42. "cycle_all": true,
  43. "cycle_left_right": true,
  44. "cycle_out_in": true,
  45. "cycle_out_in_dual": true,
  46. "cycle_pinwheel": true,
  47. "cycle_spiral": true,
  48. "cycle_up_down": true,
  49. "digital_rain": true,
  50. "dual_beacon": true,
  51. "gradient_left_right": true,
  52. "gradient_up_down": true,
  53. "hue_breathing": true,
  54. "hue_pendulum": true,
  55. "hue_wave": true,
  56. "jellybean_raindrops": true,
  57. "multisplash": true,
  58. "pixel_flow": true,
  59. "pixel_fractal": true,
  60. "pixel_rain": true,
  61. "rainbow_beacon": true,
  62. "rainbow_moving_chevron": true,
  63. "rainbow_pinwheels": true,
  64. "raindrops": true,
  65. "solid_color": true,
  66. "solid_multisplash": true,
  67. "solid_reactive": true,
  68. "solid_reactive_cross": true,
  69. "solid_reactive_multicross": true,
  70. "solid_reactive_multinexus": true,
  71. "solid_reactive_multiwide": true,
  72. "solid_reactive_nexus": true,
  73. "solid_reactive_simple": true,
  74. "solid_reactive_wide": true,
  75. "solid_splash": true,
  76. "splash": true,
  77. "typing_heatmap": true
  78. },
  79. "driver": "ws2812",
  80. "layout": [
  81. {"matrix": [1, 0], "x": 0, "y": 0, "flags": 4},
  82. {"matrix": [1, 1], "x": 56, "y": 0, "flags": 4},
  83. {"matrix": [1, 2], "x": 112, "y": 0, "flags": 4},
  84. {"matrix": [1, 3], "x": 168, "y": 0, "flags": 4},
  85. {"matrix": [1, 4], "x": 224, "y": 0, "flags": 4},
  86. {"matrix": [2, 0], "x": 0, "y": 21, "flags": 4},
  87. {"matrix": [2, 1], "x": 56, "y": 21, "flags": 4},
  88. {"matrix": [2, 2], "x": 112, "y": 21, "flags": 4},
  89. {"matrix": [2, 3], "x": 168, "y": 21, "flags": 4},
  90. {"matrix": [2, 4], "x": 224, "y": 21, "flags": 4},
  91. {"matrix": [3, 0], "x": 0, "y": 43, "flags": 4},
  92. {"matrix": [3, 1], "x": 56, "y": 43, "flags": 4},
  93. {"matrix": [3, 2], "x": 112, "y": 43, "flags": 4},
  94. {"matrix": [3, 3], "x": 168, "y": 43, "flags": 4},
  95. {"matrix": [3, 4], "x": 224, "y": 43, "flags": 4},
  96. {"matrix": [4, 0], "x": 0, "y": 64, "flags": 4},
  97. {"matrix": [4, 1], "x": 56, "y": 64, "flags": 4},
  98. {"matrix": [4, 2], "x": 112, "y": 64, "flags": 4},
  99. {"matrix": [4, 3], "x": 168, "y": 64, "flags": 4},
  100. {"matrix": [4, 4], "x": 224, "y": 64, "flags": 4},
  101. {"x": 196, "y": 53, "flags": 2},
  102. {"x": 196, "y": 10, "flags": 2},
  103. {"x": 140, "y": 10, "flags": 2},
  104. {"x": 84, "y": 10, "flags": 2},
  105. {"x": 28, "y": 10, "flags": 2},
  106. {"x": 28, "y": 53, "flags": 2},
  107. {"x": 84, "y": 53, "flags": 2},
  108. {"x": 140, "y": 53, "flags": 2}
  109. ],
  110. "max_brightness": 170,
  111. "sleep": true
  112. },
  113. "url": "https://github.com/gkeyboard/GreatPad",
  114. "usb": {
  115. "device_version": "1.0.0",
  116. "pid": "0x4203",
  117. "vid": "0x474B"
  118. },
  119. "ws2812": {
  120. "driver": "vendor",
  121. "pin": "GP22"
  122. },
  123. "layouts": {
  124. "LAYOUT": {
  125. "layout": [
  126. {"matrix": [0, 0], "x": 0, "y": 0},
  127. {"matrix": [0, 4], "x": 4, "y": 0},
  128. {"matrix": [1, 0], "x": 0, "y": 1.5},
  129. {"matrix": [1, 1], "x": 1, "y": 1.5},
  130. {"matrix": [1, 2], "x": 2, "y": 1.5},
  131. {"matrix": [1, 3], "x": 3, "y": 1.5},
  132. {"matrix": [1, 4], "x": 4, "y": 1.5},
  133. {"matrix": [2, 0], "x": 0, "y": 2.5},
  134. {"matrix": [2, 1], "x": 1, "y": 2.5},
  135. {"matrix": [2, 2], "x": 2, "y": 2.5},
  136. {"matrix": [2, 3], "x": 3, "y": 2.5},
  137. {"matrix": [2, 4], "x": 4, "y": 2.5},
  138. {"matrix": [3, 0], "x": 0, "y": 3.5},
  139. {"matrix": [3, 1], "x": 1, "y": 3.5},
  140. {"matrix": [3, 2], "x": 2, "y": 3.5},
  141. {"matrix": [3, 3], "x": 3, "y": 3.5},
  142. {"matrix": [3, 4], "x": 4, "y": 3.5},
  143. {"matrix": [4, 0], "x": 0, "y": 4.5},
  144. {"matrix": [4, 1], "x": 1, "y": 4.5},
  145. {"matrix": [4, 2], "x": 2, "y": 4.5},
  146. {"matrix": [4, 3], "x": 3, "y": 4.5},
  147. {"matrix": [4, 4], "x": 4, "y": 4.5}
  148. ]
  149. }
  150. }
  151. }