qmk_firmware

QMK firmware for my keyboards (Corne, Sweep Ferris) and trackball (Ploopy Adept)
Log | Files | Refs | Submodules | LICENSE

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 
     51                 {"x": 0, "y": 1, "matrix": [1, 0]},
     52                 {"x": 1, "y": 1, "matrix": [1, 1]},
     53                 {"x": 2.25, "y": 1, "w": 1.25, "matrix": [1, 2]},
     54                 {"x": 3.5, "y": 1, "matrix": [1, 3]},
     55                 {"x": 4.5, "y": 1, "matrix": [1, 4]},
     56                 {"x": 5.5, "y": 1, "matrix": [1, 5]},
     57                 {"x": 6.5, "y": 1, "matrix": [1, 6]},
     58                 {"x": 7.5, "y": 1, "matrix": [1, 7]},
     59 
     60                 {"x": 0, "y": 2, "matrix": [2, 0]},
     61                 {"x": 1, "y": 2, "matrix": [2, 1]},
     62                 {"x": 2.25, "y": 2, "w": 1.25, "matrix": [2, 2]},
     63                 {"x": 3.5, "y": 2, "matrix": [2, 3]},
     64                 {"x": 4.5, "y": 2, "matrix": [2, 4]},
     65                 {"x": 5.5, "y": 2, "matrix": [2, 5]},
     66                 {"x": 6.5, "y": 2, "matrix": [2, 6]},
     67                 {"x": 7.5, "y": 2, "matrix": [2, 7]},
     68 
     69                 {"x": 0, "y": 3, "matrix": [3, 0]},
     70                 {"x": 1, "y": 3, "matrix": [3, 1]},
     71                 {"x": 2.25, "y": 3, "w": 1.25, "matrix": [3, 2]},
     72                 {"x": 3.5, "y": 3, "matrix": [3, 3]},
     73                 {"x": 4.5, "y": 3, "matrix": [3, 4]},
     74                 {"x": 5.5, "y": 3, "matrix": [3, 5]},
     75                 {"x": 6.5, "y": 3, "matrix": [3, 6]},
     76                 {"x": 7.5, "y": 3, "matrix": [3, 7]},
     77 
     78                 {"x": 0, "y": 4, "matrix": [4, 0]},
     79                 {"x": 1, "y": 4, "matrix": [4, 1]},
     80                 {"x": 2.25, "y": 4, "w": 1.25, "matrix": [4, 2]},
     81                 {"x": 3.5, "y": 4, "matrix": [4, 3]},
     82                 {"x": 4.5, "y": 4, "matrix": [4, 4]},
     83                 {"x": 5.5, "y": 4, "matrix": [4, 5]},
     84                 {"x": 6.5, "y": 4, "matrix": [4, 6]},
     85                 {"x": 7.5, "y": 4, "matrix": [4, 7]}
     86             ]
     87         }
     88     }
     89 }