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.

52 lines
1.5 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. "encoder": {
  12. "rotary": [
  13. {"pin_a": "GP18", "pin_b": "GP17"}
  14. ]
  15. },
  16. "bootmagic": {
  17. "matrix": [1, 2]
  18. },
  19. "ws2812": {
  20. "driver": "vendor"
  21. },
  22. "processor": "RP2040",
  23. "bootloader": "rp2040",
  24. "matrix_pins": {
  25. "direct": [
  26. [null, null, "GP0"],
  27. ["GP1", "GP2", "GP3"],
  28. ["GP4", "GP5", "GP6"],
  29. ["GP7", "GP8", "GP9"],
  30. ["GP10", "GP11", "GP12"]
  31. ]
  32. },
  33. "layouts": {
  34. "LAYOUT": {
  35. "layout": [
  36. {"x":2, "y":0, "matrix": [0, 2]},
  37. {"x":0, "y":1, "matrix": [1, 0]},
  38. {"x":1, "y":1, "matrix": [1, 1]},
  39. {"x":2, "y":1, "matrix": [1, 2]},
  40. {"x":0, "y":2, "matrix": [2, 0]},
  41. {"x":1, "y":2, "matrix": [2, 1]},
  42. {"x":2, "y":2, "matrix": [2, 2]},
  43. {"x":0, "y":3, "matrix": [3, 0]},
  44. {"x":1, "y":3, "matrix": [3, 1]},
  45. {"x":2, "y":3, "matrix": [3, 2]},
  46. {"x":0, "y":4, "matrix": [4, 0]},
  47. {"x":1, "y":4, "matrix": [4, 1]},
  48. {"x":2, "y":4, "matrix": [4, 2]}
  49. ]
  50. }
  51. }
  52. }