keyboard.json 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. {
  2. "keyboard_name": "S20 revA",
  3. "manufacturer": "polycarbdiet",
  4. "url": "",
  5. "maintainer": "polycarbdiet",
  6. "usb": {
  7. "vid": "0x5040",
  8. "pid": "0x7320",
  9. "device_version": "0.0.1",
  10. "force_nkro": true
  11. },
  12. "features": {
  13. "backlight": true,
  14. "bootmagic": true,
  15. "command": false,
  16. "console": false,
  17. "extrakey": true,
  18. "mousekey": true,
  19. "nkro": true,
  20. "rgblight": true
  21. },
  22. "qmk": {
  23. "locking": {
  24. "enabled": true,
  25. "resync": true
  26. }
  27. },
  28. "matrix_pins": {
  29. "cols": ["C6", "C7", "D4", "D6"],
  30. "rows": ["B7", "E6", "D0", "D1", "D5"]
  31. },
  32. "diode_direction": "ROW2COL",
  33. "backlight": {
  34. "pin": "B6",
  35. "breathing": true
  36. },
  37. "rgblight": {
  38. "saturation_steps": 8,
  39. "brightness_steps": 8,
  40. "led_count": 4,
  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": "B3"
  57. },
  58. "processor": "atmega32u4",
  59. "bootloader": "atmel-dfu",
  60. "community_layouts": ["ortho_5x4", "numpad_5x4"],
  61. "layouts": {
  62. "LAYOUT_ortho_5x4": {
  63. "layout": [
  64. {"matrix": [0, 0], "x": 0, "y": 0},
  65. {"matrix": [0, 1], "x": 1, "y": 0},
  66. {"matrix": [0, 2], "x": 2, "y": 0},
  67. {"matrix": [0, 3], "x": 3, "y": 0},
  68. {"matrix": [1, 0], "x": 0, "y": 1},
  69. {"matrix": [1, 1], "x": 1, "y": 1},
  70. {"matrix": [1, 2], "x": 2, "y": 1},
  71. {"matrix": [1, 3], "x": 3, "y": 1},
  72. {"matrix": [2, 0], "x": 0, "y": 2},
  73. {"matrix": [2, 1], "x": 1, "y": 2},
  74. {"matrix": [2, 2], "x": 2, "y": 2},
  75. {"matrix": [2, 3], "x": 3, "y": 2},
  76. {"matrix": [3, 0], "x": 0, "y": 3},
  77. {"matrix": [3, 1], "x": 1, "y": 3},
  78. {"matrix": [3, 2], "x": 2, "y": 3},
  79. {"matrix": [3, 3], "x": 3, "y": 3},
  80. {"matrix": [4, 0], "x": 0, "y": 4},
  81. {"matrix": [4, 1], "x": 1, "y": 4},
  82. {"matrix": [4, 2], "x": 2, "y": 4},
  83. {"matrix": [4, 3], "x": 3, "y": 4}
  84. ]
  85. },
  86. "LAYOUT_numpad_5x4": {
  87. "layout": [
  88. {"matrix": [0, 0], "x": 0, "y": 0},
  89. {"matrix": [0, 1], "x": 1, "y": 0},
  90. {"matrix": [0, 2], "x": 2, "y": 0},
  91. {"matrix": [0, 3], "x": 3, "y": 0},
  92. {"matrix": [1, 0], "x": 0, "y": 1},
  93. {"matrix": [1, 1], "x": 1, "y": 1},
  94. {"matrix": [1, 2], "x": 2, "y": 1},
  95. {"matrix": [2, 0], "x": 0, "y": 2},
  96. {"matrix": [2, 1], "x": 1, "y": 2},
  97. {"matrix": [2, 2], "x": 2, "y": 2},
  98. {"matrix": [1, 3], "x": 3, "y": 1, "h": 2},
  99. {"matrix": [3, 0], "x": 0, "y": 3},
  100. {"matrix": [3, 1], "x": 1, "y": 3},
  101. {"matrix": [3, 2], "x": 2, "y": 3},
  102. {"matrix": [4, 0], "x": 0, "y": 4, "w": 2},
  103. {"matrix": [4, 2], "x": 2, "y": 4},
  104. {"matrix": [3, 3], "x": 3, "y": 3, "h": 2}
  105. ]
  106. },
  107. "LAYOUT_enter": {
  108. "layout": [
  109. {"matrix": [0, 0], "x": 0, "y": 0},
  110. {"matrix": [0, 1], "x": 1, "y": 0},
  111. {"matrix": [0, 2], "x": 2, "y": 0},
  112. {"matrix": [0, 3], "x": 3, "y": 0},
  113. {"matrix": [1, 0], "x": 0, "y": 1},
  114. {"matrix": [1, 1], "x": 1, "y": 1},
  115. {"matrix": [1, 2], "x": 2, "y": 1},
  116. {"matrix": [1, 3], "x": 3, "y": 1},
  117. {"matrix": [2, 0], "x": 0, "y": 2},
  118. {"matrix": [2, 1], "x": 1, "y": 2},
  119. {"matrix": [2, 2], "x": 2, "y": 2},
  120. {"matrix": [2, 3], "x": 3, "y": 2},
  121. {"matrix": [3, 0], "x": 0, "y": 3},
  122. {"matrix": [3, 1], "x": 1, "y": 3},
  123. {"matrix": [3, 2], "x": 2, "y": 3},
  124. {"matrix": [3, 3], "x": 3, "y": 3, "h": 2},
  125. {"matrix": [4, 0], "x": 0, "y": 4},
  126. {"matrix": [4, 1], "x": 1, "y": 4},
  127. {"matrix": [4, 2], "x": 2, "y": 4}
  128. ]
  129. }
  130. }
  131. }