You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

75 lines
2.9 KiB

  1. {
  2. "keyboard_name": "Battleship Gamepad",
  3. "manufacturer": "arbraini",
  4. "url": "https://github.com/abraini-Nascent/battleship_gamepad",
  5. "maintainer": "arbraini",
  6. "usb": {
  7. "vid": "0x4142",
  8. "pid": "0x0000",
  9. "device_version": "0.0.1"
  10. },
  11. "matrix_pins": {
  12. "cols": ["D1", "D0", "D4", "C6", "D7", "E6", "B4", "B5"],
  13. "rows": ["B6", "B2", "B3", "B1", "F7"]
  14. },
  15. "diode_direction": "COL2ROW",
  16. "processor": "atmega32u4",
  17. "bootloader": "caterina",
  18. "features": {
  19. "bootmagic": false,
  20. "mousekey": true,
  21. "extrakey": true,
  22. "nkro": true,
  23. "joystick": true
  24. },
  25. "layouts": {
  26. "LAYOUT": {
  27. "layout": [
  28. {"x": 0, "y": 0, "matrix": [0, 0]},
  29. {"x": 1, "y": 0, "matrix": [0, 1]},
  30. {"x": 2.25, "y": 0, "w": 1.25, "matrix": [0, 2]},
  31. {"x": 3.5, "y": 0, "matrix": [0, 3]},
  32. {"x": 4.5, "y": 0, "matrix": [0, 4]},
  33. {"x": 5.5, "y": 0, "matrix": [0, 5]},
  34. {"x": 6.5, "y": 0, "matrix": [0, 6]},
  35. {"x": 7.5, "y": 0, "matrix": [0, 7]},
  36. {"x": 0, "y": 1, "matrix": [1, 0]},
  37. {"x": 1, "y": 1, "matrix": [1, 1]},
  38. {"x": 2.25, "y": 1, "w": 1.25, "matrix": [1, 2]},
  39. {"x": 3.5, "y": 1, "matrix": [1, 3]},
  40. {"x": 4.5, "y": 1, "matrix": [1, 4]},
  41. {"x": 5.5, "y": 1, "matrix": [1, 5]},
  42. {"x": 6.5, "y": 1, "matrix": [1, 6]},
  43. {"x": 7.5, "y": 1, "matrix": [1, 7]},
  44. {"x": 0, "y": 2, "matrix": [2, 0]},
  45. {"x": 1, "y": 2, "matrix": [2, 1]},
  46. {"x": 2.25, "y": 2, "w": 1.25, "matrix": [2, 2]},
  47. {"x": 3.5, "y": 2, "matrix": [2, 3]},
  48. {"x": 4.5, "y": 2, "matrix": [2, 4]},
  49. {"x": 5.5, "y": 2, "matrix": [2, 5]},
  50. {"x": 6.5, "y": 2, "matrix": [2, 6]},
  51. {"x": 7.5, "y": 2, "matrix": [2, 7]},
  52. {"x": 0, "y": 3, "matrix": [3, 0]},
  53. {"x": 1, "y": 3, "matrix": [3, 1]},
  54. {"x": 2.25, "y": 3, "w": 1.25, "matrix": [3, 2]},
  55. {"x": 3.5, "y": 3, "matrix": [3, 3]},
  56. {"x": 4.5, "y": 3, "matrix": [3, 4]},
  57. {"x": 5.5, "y": 3, "matrix": [3, 5]},
  58. {"x": 6.5, "y": 3, "matrix": [3, 6]},
  59. {"x": 7.5, "y": 3, "matrix": [3, 7]},
  60. {"x": 0, "y": 4, "matrix": [4, 0]},
  61. {"x": 1, "y": 4, "matrix": [4, 1]},
  62. {"x": 2.25, "y": 4, "w": 1.25, "matrix": [4, 2]},
  63. {"x": 3.5, "y": 4, "matrix": [4, 3]},
  64. {"x": 4.5, "y": 4, "matrix": [4, 4]},
  65. {"x": 5.5, "y": 4, "matrix": [4, 5]},
  66. {"x": 6.5, "y": 4, "matrix": [4, 6]},
  67. {"x": 7.5, "y": 4, "matrix": [4, 7]}
  68. ]
  69. }
  70. }
  71. }