keyboard.json 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. {
  2. "keyboard_name": "Retropad",
  3. "manufacturer": "Swiftrax",
  4. "url": "https://github.com/swiftrax",
  5. "maintainer": "swiftrax",
  6. "usb": {
  7. "vid": "0x04D8",
  8. "pid": "0xEB0C",
  9. "device_version": "0.0.1"
  10. },
  11. "features": {
  12. "bootmagic": true,
  13. "command": false,
  14. "console": false,
  15. "encoder": true,
  16. "extrakey": true,
  17. "mousekey": false,
  18. "nkro": false,
  19. "rgblight": true
  20. },
  21. "matrix_pins": {
  22. "cols": ["B4", "D2"],
  23. "rows": ["C7", "C6", "B5"]
  24. },
  25. "diode_direction": "COL2ROW",
  26. "encoder": {
  27. "rotary": [
  28. {"pin_a": "D0", "pin_b": "D1"}
  29. ]
  30. },
  31. "bootmagic": {
  32. "matrix": [1, 0]
  33. },
  34. "rgblight": {
  35. "saturation_steps": 8,
  36. "brightness_steps": 8,
  37. "led_count": 6,
  38. "animations": {
  39. "breathing": true,
  40. "rainbow_mood": true,
  41. "rainbow_swirl": true,
  42. "snake": true,
  43. "knight": true,
  44. "christmas": true,
  45. "static_gradient": true,
  46. "rgb_test": true,
  47. "alternating": true,
  48. "twinkle": true
  49. }
  50. },
  51. "ws2812": {
  52. "pin": "B7"
  53. },
  54. "processor": "atmega32u2",
  55. "bootloader": "atmel-dfu",
  56. "layouts": {
  57. "LAYOUT": {
  58. "layout": [
  59. {"matrix": [0, 1], "x": 0.5, "y": 0},
  60. {"matrix": [1, 0], "x": 0, "y": 1.5},
  61. {"matrix": [1, 1], "x": 1, "y": 1.5},
  62. {"matrix": [2, 0], "x": 0, "y": 2.5},
  63. {"matrix": [2, 1], "x": 1, "y": 2.5}
  64. ]
  65. }
  66. }
  67. }