keyboard.json 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. {
  2. "keyboard_name": "Tetris",
  3. "manufacturer": "Fengz",
  4. "url": "",
  5. "maintainer": "qmk",
  6. "usb": {
  7. "vid": "0xFEED",
  8. "pid": "0x6060",
  9. "device_version": "0.0.1"
  10. },
  11. "rgblight": {
  12. "saturation_steps": 8,
  13. "brightness_steps": 8,
  14. "led_count": 47,
  15. "sleep": true,
  16. "animations": {
  17. "breathing": true,
  18. "rainbow_mood": true,
  19. "rainbow_swirl": true,
  20. "snake": true,
  21. "knight": true,
  22. "christmas": true,
  23. "static_gradient": true,
  24. "rgb_test": true,
  25. "alternating": true,
  26. "twinkle": true
  27. }
  28. },
  29. "ws2812": {
  30. "pin": "F5"
  31. },
  32. "build": {
  33. "lto": true
  34. },
  35. "features": {
  36. "audio": true,
  37. "bootmagic": false,
  38. "command": false,
  39. "console": false,
  40. "encoder": true,
  41. "extrakey": true,
  42. "mousekey": true,
  43. "nkro": true,
  44. "rgblight": true
  45. },
  46. "qmk": {
  47. "locking": {
  48. "enabled": true,
  49. "resync": true
  50. }
  51. },
  52. "matrix_pins": {
  53. "cols": ["D7", "B4", "B6", "C6", "C7", "F6", "F7", "D4", "D2", "D3", "D5", "D6"],
  54. "rows": ["B3", "B2", "B1", "B0", "E6"]
  55. },
  56. "diode_direction": "COL2ROW",
  57. "encoder": {
  58. "rotary": [
  59. {"pin_a": "D1", "pin_b": "D0"},
  60. {"pin_a": "F1", "pin_b": "F0"}
  61. ]
  62. },
  63. "processor": "atmega32u4",
  64. "bootloader": "qmk-dfu",
  65. "layouts": {
  66. "LAYOUT_planck_mit": {
  67. "layout": [
  68. {"matrix": [0, 0], "x": 0, "y": 0},
  69. {"matrix": [0, 1], "x": 1, "y": 0},
  70. {"matrix": [0, 2], "x": 2, "y": 0},
  71. {"matrix": [0, 3], "x": 3, "y": 0},
  72. {"matrix": [0, 4], "x": 4, "y": 0},
  73. {"matrix": [0, 5], "x": 5, "y": 0},
  74. {"matrix": [0, 6], "x": 6, "y": 0},
  75. {"matrix": [0, 7], "x": 7, "y": 0},
  76. {"matrix": [0, 8], "x": 8, "y": 0},
  77. {"matrix": [0, 9], "x": 9, "y": 0},
  78. {"matrix": [0, 10], "x": 10, "y": 0},
  79. {"matrix": [0, 11], "x": 11, "y": 0},
  80. {"matrix": [1, 0], "x": 0, "y": 1},
  81. {"matrix": [1, 1], "x": 1, "y": 1},
  82. {"matrix": [1, 2], "x": 2, "y": 1},
  83. {"matrix": [1, 3], "x": 3, "y": 1},
  84. {"matrix": [1, 4], "x": 4, "y": 1},
  85. {"matrix": [1, 5], "x": 5, "y": 1},
  86. {"matrix": [1, 6], "x": 6, "y": 1},
  87. {"matrix": [1, 7], "x": 7, "y": 1},
  88. {"matrix": [1, 8], "x": 8, "y": 1},
  89. {"matrix": [1, 9], "x": 9, "y": 1},
  90. {"matrix": [1, 10], "x": 10, "y": 1},
  91. {"matrix": [1, 11], "x": 11, "y": 1},
  92. {"matrix": [2, 0], "x": 0, "y": 2},
  93. {"matrix": [2, 1], "x": 1, "y": 2},
  94. {"matrix": [2, 2], "x": 2, "y": 2},
  95. {"matrix": [2, 3], "x": 3, "y": 2},
  96. {"matrix": [2, 4], "x": 4, "y": 2},
  97. {"matrix": [2, 5], "x": 5, "y": 2},
  98. {"matrix": [2, 6], "x": 6, "y": 2},
  99. {"matrix": [2, 7], "x": 7, "y": 2},
  100. {"matrix": [2, 8], "x": 8, "y": 2},
  101. {"matrix": [2, 9], "x": 9, "y": 2},
  102. {"matrix": [2, 10], "x": 10, "y": 2},
  103. {"matrix": [2, 11], "x": 11, "y": 2},
  104. {"matrix": [3, 0], "x": 0, "y": 3},
  105. {"matrix": [3, 1], "x": 1, "y": 3},
  106. {"matrix": [3, 2], "x": 2, "y": 3},
  107. {"matrix": [3, 3], "x": 3, "y": 3},
  108. {"matrix": [3, 4], "x": 4, "y": 3},
  109. {"matrix": [3, 5], "x": 5, "y": 3, "w": 2},
  110. {"matrix": [3, 7], "x": 7, "y": 3},
  111. {"matrix": [3, 8], "x": 8, "y": 3},
  112. {"matrix": [3, 9], "x": 9, "y": 3},
  113. {"matrix": [3, 10], "x": 10, "y": 3},
  114. {"matrix": [3, 11], "x": 11, "y": 3},
  115. {"matrix": [4, 0], "x": 0, "y": 4},
  116. {"matrix": [4, 1], "x": 1, "y": 4},
  117. {"matrix": [4, 10], "x": 10, "y": 4},
  118. {"matrix": [4, 11], "x": 11, "y": 4}
  119. ]
  120. }
  121. }
  122. }