logo

qmk_firmware

custom branch of QMK firmware git clone https://anongit.hacktivis.me/git/qmk_firmware.git

keyboard.json (3331B)


  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. "joystick": {
  17. "button_count": 25,
  18. "axis_resolution": 10,
  19. "axes": {
  20. "x": {"input_pin": "F5", "low": 1023, "rest": 512, "high": 0},
  21. "y": {"input_pin": "F4", "low": 0, "rest": 512, "high": 1023}
  22. }
  23. },
  24. "processor": "atmega32u4",
  25. "bootloader": "caterina",
  26. "features": {
  27. "bootmagic": false,
  28. "mousekey": true,
  29. "extrakey": true,
  30. "nkro": true,
  31. "joystick": true
  32. },
  33. "qmk": {
  34. "locking": {
  35. "enabled": true,
  36. "resync": true
  37. }
  38. },
  39. "layouts": {
  40. "LAYOUT": {
  41. "layout": [
  42. {"x": 0, "y": 0, "matrix": [0, 0]},
  43. {"x": 1, "y": 0, "matrix": [0, 1]},
  44. {"x": 2.25, "y": 0, "w": 1.25, "matrix": [0, 2]},
  45. {"x": 3.5, "y": 0, "matrix": [0, 3]},
  46. {"x": 4.5, "y": 0, "matrix": [0, 4]},
  47. {"x": 5.5, "y": 0, "matrix": [0, 5]},
  48. {"x": 6.5, "y": 0, "matrix": [0, 6]},
  49. {"x": 7.5, "y": 0, "matrix": [0, 7]},
  50. {"x": 0, "y": 1, "matrix": [1, 0]},
  51. {"x": 1, "y": 1, "matrix": [1, 1]},
  52. {"x": 2.25, "y": 1, "w": 1.25, "matrix": [1, 2]},
  53. {"x": 3.5, "y": 1, "matrix": [1, 3]},
  54. {"x": 4.5, "y": 1, "matrix": [1, 4]},
  55. {"x": 5.5, "y": 1, "matrix": [1, 5]},
  56. {"x": 6.5, "y": 1, "matrix": [1, 6]},
  57. {"x": 7.5, "y": 1, "matrix": [1, 7]},
  58. {"x": 0, "y": 2, "matrix": [2, 0]},
  59. {"x": 1, "y": 2, "matrix": [2, 1]},
  60. {"x": 2.25, "y": 2, "w": 1.25, "matrix": [2, 2]},
  61. {"x": 3.5, "y": 2, "matrix": [2, 3]},
  62. {"x": 4.5, "y": 2, "matrix": [2, 4]},
  63. {"x": 5.5, "y": 2, "matrix": [2, 5]},
  64. {"x": 6.5, "y": 2, "matrix": [2, 6]},
  65. {"x": 7.5, "y": 2, "matrix": [2, 7]},
  66. {"x": 0, "y": 3, "matrix": [3, 0]},
  67. {"x": 1, "y": 3, "matrix": [3, 1]},
  68. {"x": 2.25, "y": 3, "w": 1.25, "matrix": [3, 2]},
  69. {"x": 3.5, "y": 3, "matrix": [3, 3]},
  70. {"x": 4.5, "y": 3, "matrix": [3, 4]},
  71. {"x": 5.5, "y": 3, "matrix": [3, 5]},
  72. {"x": 6.5, "y": 3, "matrix": [3, 6]},
  73. {"x": 7.5, "y": 3, "matrix": [3, 7]},
  74. {"x": 0, "y": 4, "matrix": [4, 0]},
  75. {"x": 1, "y": 4, "matrix": [4, 1]},
  76. {"x": 2.25, "y": 4, "w": 1.25, "matrix": [4, 2]},
  77. {"x": 3.5, "y": 4, "matrix": [4, 3]},
  78. {"x": 4.5, "y": 4, "matrix": [4, 4]},
  79. {"x": 5.5, "y": 4, "matrix": [4, 5]},
  80. {"x": 6.5, "y": 4, "matrix": [4, 6]},
  81. {"x": 7.5, "y": 4, "matrix": [4, 7]}
  82. ]
  83. }
  84. }
  85. }