qmk_firmware/keyboards/pabile/p18/keyboard.json

61 lines
1.9 KiB
JSON

{
"keyboard_name": "P18 Macro Pad",
"manufacturer": "Pabile",
"url": "https://pabileonline.blogspot.com/",
"maintainer": "Pabile",
"usb": {
"vid": "0x6666",
"pid": "0x6668",
"device_version": "0.0.1"
},
"features": {
"bootmagic": false,
"command": false,
"console": false,
"encoder": true,
"extrakey": true,
"mousekey": true,
"nkro": false,
"unicode": true
},
"matrix_pins": {
"cols": ["D2", "D7", "E6", "B4", "B5"],
"rows": ["D1", "D0", "D4", "C6"]
},
"diode_direction": "COL2ROW",
"encoder": {
"rotary": [
{"pin_a": "B6", "pin_b": "F4"},
{"pin_a": "F6", "pin_b": "F5"}
]
},
"processor": "atmega32u4",
"bootloader": "caterina",
"layouts": {
"LAYOUT": {
"layout": [
{"matrix": [0, 4], "x": 1.25, "y": 0},
{"matrix": [0, 3], "x": 2.25, "y": 0},
{"matrix": [0, 2], "x": 3.25, "y": 0},
{"matrix": [0, 1], "x": 4.25, "y": 0},
{"matrix": [1, 4], "x": 1.25, "y": 1},
{"matrix": [1, 3], "x": 2.25, "y": 1},
{"matrix": [1, 2], "x": 3.25, "y": 1},
{"matrix": [1, 1], "x": 4.25, "y": 1},
{"matrix": [2, 0], "x": 0, "y": 2},
{"matrix": [2, 4], "x": 1.25, "y": 2},
{"matrix": [2, 3], "x": 2.25, "y": 2},
{"matrix": [2, 2], "x": 3.25, "y": 2},
{"matrix": [2, 1], "x": 4.25, "y": 2},
{"matrix": [3, 0], "x": 0, "y": 3},
{"matrix": [3, 4], "x": 1.25, "y": 3},
{"matrix": [3, 3], "x": 2.25, "y": 3},
{"matrix": [3, 2], "x": 3.25, "y": 3},
{"matrix": [3, 1], "x": 4.25, "y": 3}
]
}
}
}