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.

130 lines
4.2 KiB

  1. {
  2. "keyboard_name": "Macropad RP2040",
  3. "manufacturer": "Adafruit",
  4. "url": "https://learn.adafruit.com/adafruit-macropad-rp2040",
  5. "maintainer": "Jpe230",
  6. "usb": {
  7. "vid": "0x239A",
  8. "pid": "0x0108",
  9. "device_version": "0.0.1"
  10. },
  11. "features": {
  12. "bootmagic": true,
  13. "mousekey": false,
  14. "extrakey": true,
  15. "nkro": true,
  16. "audio": true,
  17. "encoder": true,
  18. "rgb_matrix": true,
  19. "oled": true
  20. },
  21. "audio": {
  22. "power_control": {
  23. "pin": "GP14"
  24. }
  25. },
  26. "encoder": {
  27. "rotary": [
  28. {"pin_a": "GP18", "pin_b": "GP17"}
  29. ]
  30. },
  31. "rgb_matrix": {
  32. "animations": {
  33. "alphas_mods": true,
  34. "gradient_up_down": true,
  35. "gradient_left_right": true,
  36. "breathing": true,
  37. "band_sat": true,
  38. "band_val": true,
  39. "band_pinwheel_sat": true,
  40. "band_pinwheel_val": true,
  41. "band_spiral_sat": true,
  42. "band_spiral_val": true,
  43. "cycle_all": true,
  44. "cycle_left_right": true,
  45. "cycle_up_down": true,
  46. "rainbow_moving_chevron": true,
  47. "cycle_out_in": true,
  48. "cycle_out_in_dual": true,
  49. "cycle_pinwheel": true,
  50. "cycle_spiral": true,
  51. "dual_beacon": true,
  52. "rainbow_beacon": true,
  53. "rainbow_pinwheels": true,
  54. "raindrops": true,
  55. "jellybean_raindrops": true,
  56. "hue_breathing": true,
  57. "hue_pendulum": true,
  58. "hue_wave": true,
  59. "pixel_rain": true,
  60. "pixel_flow": true,
  61. "pixel_fractal": true,
  62. "typing_heatmap": true,
  63. "digital_rain": true,
  64. "solid_reactive_simple": true,
  65. "solid_reactive": true,
  66. "solid_reactive_wide": true,
  67. "solid_reactive_multiwide": true,
  68. "solid_reactive_cross": true,
  69. "solid_reactive_multicross": true,
  70. "solid_reactive_nexus": true,
  71. "solid_reactive_multinexus": true,
  72. "splash": true,
  73. "multisplash": true,
  74. "solid_splash": true,
  75. "solid_multisplash": true
  76. },
  77. "driver": "ws2812",
  78. "layout": [
  79. {"matrix": [1, 0], "x": 0, "y": 0, "flags": 4},
  80. {"matrix": [1, 1], "x": 112, "y": 0, "flags": 4},
  81. {"matrix": [1, 2], "x": 224, "y": 0, "flags": 4},
  82. {"matrix": [2, 0], "x": 0, "y": 21, "flags": 4},
  83. {"matrix": [2, 1], "x": 112, "y": 21, "flags": 4},
  84. {"matrix": [2, 2], "x": 224, "y": 21, "flags": 4},
  85. {"matrix": [3, 0], "x": 0, "y": 42, "flags": 4},
  86. {"matrix": [3, 1], "x": 112, "y": 42, "flags": 4},
  87. {"matrix": [3, 2], "x": 224, "y": 42, "flags": 4},
  88. {"matrix": [4, 0], "x": 0, "y": 64, "flags": 4},
  89. {"matrix": [4, 1], "x": 112, "y": 64, "flags": 4},
  90. {"matrix": [4, 2], "x": 224, "y": 64, "flags": 4}
  91. ]
  92. },
  93. "bootmagic": {
  94. "matrix": [1, 2]
  95. },
  96. "ws2812": {
  97. "pin": "GP19",
  98. "driver": "vendor"
  99. },
  100. "processor": "RP2040",
  101. "bootloader": "rp2040",
  102. "matrix_pins": {
  103. "direct": [
  104. [null, null, "GP0"],
  105. ["GP1", "GP2", "GP3"],
  106. ["GP4", "GP5", "GP6"],
  107. ["GP7", "GP8", "GP9"],
  108. ["GP10", "GP11", "GP12"]
  109. ]
  110. },
  111. "layouts": {
  112. "LAYOUT": {
  113. "layout": [
  114. {"x": 2, "y": 0, "matrix": [0, 2]},
  115. {"x": 0, "y": 1, "matrix": [1, 0]},
  116. {"x": 1, "y": 1, "matrix": [1, 1]},
  117. {"x": 2, "y": 1, "matrix": [1, 2]},
  118. {"x": 0, "y": 2, "matrix": [2, 0]},
  119. {"x": 1, "y": 2, "matrix": [2, 1]},
  120. {"x": 2, "y": 2, "matrix": [2, 2]},
  121. {"x": 0, "y": 3, "matrix": [3, 0]},
  122. {"x": 1, "y": 3, "matrix": [3, 1]},
  123. {"x": 2, "y": 3, "matrix": [3, 2]},
  124. {"x": 0, "y": 4, "matrix": [4, 0]},
  125. {"x": 1, "y": 4, "matrix": [4, 1]},
  126. {"x": 2, "y": 4, "matrix": [4, 2]}
  127. ]
  128. }
  129. }
  130. }