keyboard.json 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. {
  2. "keyboard_name": "4by3",
  3. "manufacturer": "Elias Sj\u00f6green",
  4. "url": "https://github.com/eliassjogreen/4by3",
  5. "maintainer": "eliassjogreen",
  6. "usb": {
  7. "vid": "0xEEEE",
  8. "pid": "0x2019",
  9. "device_version": "0.0.1"
  10. },
  11. "features": {
  12. "bootmagic": false,
  13. "command": true,
  14. "console": true,
  15. "extrakey": true,
  16. "mousekey": false,
  17. "nkro": true
  18. },
  19. "matrix_pins": {
  20. "cols": ["C6", "D7", "E6", "B4"],
  21. "rows": ["D1", "D0", "D4"]
  22. },
  23. "diode_direction": "COL2ROW",
  24. "processor": "atmega32u4",
  25. "bootloader": "caterina",
  26. "layout_aliases": {
  27. "LAYOUT": "LAYOUT_horizontal"
  28. },
  29. "layouts": {
  30. "LAYOUT_horizontal": {
  31. "layout": [
  32. {"matrix": [0, 0], "x": 0, "y": 0},
  33. {"matrix": [0, 1], "x": 1, "y": 0},
  34. {"matrix": [0, 2], "x": 2, "y": 0},
  35. {"matrix": [0, 3], "x": 3, "y": 0},
  36. {"matrix": [1, 0], "x": 0, "y": 1},
  37. {"matrix": [1, 1], "x": 1, "y": 1},
  38. {"matrix": [1, 2], "x": 2, "y": 1},
  39. {"matrix": [1, 3], "x": 3, "y": 1},
  40. {"matrix": [2, 0], "x": 0, "y": 2},
  41. {"matrix": [2, 1], "x": 1, "y": 2},
  42. {"matrix": [2, 2], "x": 2, "y": 2},
  43. {"matrix": [2, 3], "x": 3, "y": 2}
  44. ]
  45. },
  46. "LAYOUT_vertical_right": {
  47. "layout": [
  48. {"matrix": [2, 0], "x": 0, "y": 0},
  49. {"matrix": [1, 0], "x": 1, "y": 0},
  50. {"matrix": [0, 0], "x": 2, "y": 0},
  51. {"matrix": [2, 1], "x": 0, "y": 1},
  52. {"matrix": [1, 1], "x": 1, "y": 1},
  53. {"matrix": [0, 1], "x": 2, "y": 1},
  54. {"matrix": [2, 2], "x": 0, "y": 2},
  55. {"matrix": [1, 2], "x": 1, "y": 2},
  56. {"matrix": [0, 2], "x": 2, "y": 2},
  57. {"matrix": [2, 3], "x": 0, "y": 3},
  58. {"matrix": [1, 3], "x": 1, "y": 3},
  59. {"matrix": [0, 3], "x": 2, "y": 3}
  60. ]
  61. },
  62. "LAYOUT_vertical_left": {
  63. "layout": [
  64. {"matrix": [0, 3], "x": 0, "y": 0},
  65. {"matrix": [1, 3], "x": 1, "y": 0},
  66. {"matrix": [2, 3], "x": 2, "y": 0},
  67. {"matrix": [0, 2], "x": 0, "y": 1},
  68. {"matrix": [1, 2], "x": 1, "y": 1},
  69. {"matrix": [2, 2], "x": 2, "y": 1},
  70. {"matrix": [0, 1], "x": 0, "y": 2},
  71. {"matrix": [1, 1], "x": 1, "y": 2},
  72. {"matrix": [2, 1], "x": 2, "y": 2},
  73. {"matrix": [0, 0], "x": 0, "y": 3},
  74. {"matrix": [1, 0], "x": 1, "y": 3},
  75. {"matrix": [2, 0], "x": 2, "y": 3}
  76. ]
  77. }
  78. }
  79. }