keyboard.json 4.5 KB

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