keyboard.json 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. {
  2. "keyboard_name": "RadPad",
  3. "manufacturer": "Keybage",
  4. "url": "",
  5. "maintainer": "Brandon Schlack",
  6. "usb": {
  7. "vid": "0x4253",
  8. "pid": "0x5250",
  9. "device_version": "0.0.1"
  10. },
  11. "build": {
  12. "lto": true
  13. },
  14. "features": {
  15. "bootmagic": true,
  16. "command": false,
  17. "console": false,
  18. "encoder": true,
  19. "extrakey": true,
  20. "mousekey": true,
  21. "nkro": false,
  22. "oled": true,
  23. "rgblight": true
  24. },
  25. "matrix_pins": {
  26. "cols": ["E6", "B4", "D7", "B1"],
  27. "rows": ["F5", "B5", "B6", "B2", "B3"]
  28. },
  29. "diode_direction": "COL2ROW",
  30. "encoder": {
  31. "rotary": [
  32. {"pin_a": "D4", "pin_b": "C6", "resolution": 2},
  33. {"pin_a": "F6", "pin_b": "F7", "resolution": 2}
  34. ]
  35. },
  36. "bootmagic": {
  37. "matrix": [1, 3]
  38. },
  39. "rgblight": {
  40. "led_count": 16,
  41. "sleep": true,
  42. "animations": {
  43. "breathing": true,
  44. "rainbow_mood": true,
  45. "rainbow_swirl": true,
  46. "snake": true,
  47. "knight": true,
  48. "christmas": true,
  49. "static_gradient": true,
  50. "rgb_test": true,
  51. "alternating": true,
  52. "twinkle": true
  53. }
  54. },
  55. "ws2812": {
  56. "pin": "F4"
  57. },
  58. "processor": "atmega32u4",
  59. "bootloader": "caterina",
  60. "layouts": {
  61. "LAYOUT_4x4_encoders": {
  62. "layout": [
  63. {"matrix": [0, 0], "x": 0, "y": 0},
  64. {"matrix": [0, 3], "x": 3, "y": 0},
  65. {"matrix": [1, 0], "x": 0, "y": 1},
  66. {"matrix": [1, 1], "x": 1, "y": 1},
  67. {"matrix": [1, 2], "x": 2, "y": 1},
  68. {"matrix": [1, 3], "x": 3, "y": 1},
  69. {"matrix": [2, 0], "x": 0, "y": 2},
  70. {"matrix": [2, 1], "x": 1, "y": 2},
  71. {"matrix": [2, 2], "x": 2, "y": 2},
  72. {"matrix": [2, 3], "x": 3, "y": 2},
  73. {"matrix": [3, 0], "x": 0, "y": 3},
  74. {"matrix": [3, 1], "x": 1, "y": 3},
  75. {"matrix": [3, 2], "x": 2, "y": 3},
  76. {"matrix": [3, 3], "x": 3, "y": 3},
  77. {"matrix": [4, 0], "x": 0, "y": 4},
  78. {"matrix": [4, 1], "x": 1, "y": 4},
  79. {"matrix": [4, 2], "x": 2, "y": 4},
  80. {"matrix": [4, 3], "x": 3, "y": 4}
  81. ]
  82. },
  83. "LAYOUT_4x3_encoders": {
  84. "layout": [
  85. {"matrix": [0, 0], "x": 0, "y": 0},
  86. {"matrix": [0, 3], "x": 3, "y": 0},
  87. {"matrix": [1, 0], "x": 0, "y": 1},
  88. {"matrix": [1, 1], "x": 1, "y": 1},
  89. {"matrix": [1, 2], "x": 2, "y": 1},
  90. {"matrix": [1, 3], "x": 3, "y": 1},
  91. {"matrix": [2, 0], "x": 0, "y": 2},
  92. {"matrix": [2, 1], "x": 1, "y": 2},
  93. {"matrix": [2, 2], "x": 2, "y": 2},
  94. {"matrix": [2, 3], "x": 3, "y": 2},
  95. {"matrix": [3, 0], "x": 0, "y": 3},
  96. {"matrix": [3, 1], "x": 1, "y": 3},
  97. {"matrix": [3, 2], "x": 2, "y": 3},
  98. {"matrix": [3, 3], "x": 3, "y": 3}
  99. ]
  100. },
  101. "LAYOUT_3x4_encoders": {
  102. "layout": [
  103. {"matrix": [0, 1], "x": 0, "y": 0},
  104. {"matrix": [0, 3], "x": 2, "y": 0},
  105. {"matrix": [1, 1], "x": 0, "y": 1},
  106. {"matrix": [1, 2], "x": 1, "y": 1},
  107. {"matrix": [1, 3], "x": 2, "y": 1},
  108. {"matrix": [2, 1], "x": 0, "y": 2},
  109. {"matrix": [2, 2], "x": 1, "y": 2},
  110. {"matrix": [2, 3], "x": 2, "y": 2},
  111. {"matrix": [3, 1], "x": 0, "y": 3},
  112. {"matrix": [3, 2], "x": 1, "y": 3},
  113. {"matrix": [3, 3], "x": 2, "y": 3},
  114. {"matrix": [4, 1], "x": 0, "y": 4},
  115. {"matrix": [4, 2], "x": 1, "y": 4},
  116. {"matrix": [4, 3], "x": 2, "y": 4}
  117. ]
  118. },
  119. "LAYOUT_3x3_encoders": {
  120. "layout": [
  121. {"matrix": [0, 1], "x": 0, "y": 0},
  122. {"matrix": [0, 3], "x": 2, "y": 0},
  123. {"matrix": [1, 1], "x": 0, "y": 1},
  124. {"matrix": [1, 2], "x": 1, "y": 1},
  125. {"matrix": [1, 3], "x": 2, "y": 1},
  126. {"matrix": [2, 1], "x": 0, "y": 2},
  127. {"matrix": [2, 2], "x": 1, "y": 2},
  128. {"matrix": [2, 3], "x": 2, "y": 2},
  129. {"matrix": [3, 1], "x": 0, "y": 3},
  130. {"matrix": [3, 2], "x": 1, "y": 3},
  131. {"matrix": [3, 3], "x": 2, "y": 3}
  132. ]
  133. }
  134. }
  135. }