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.

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