[Keyboard] Add ai macropad (#17722)

Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: Louis Dalibard <ontake@ontake.dev>
This commit is contained in:
Louis Dalibard
2022-08-21 02:17:02 +02:00
committed by GitHub
parent e2fbcc8099
commit 7ea54a7837
5 changed files with 130 additions and 0 deletions

51
keyboards/ai/info.json Normal file
View File

@@ -0,0 +1,51 @@
{
"manufacturer": "Louis Dalibard",
"keyboard_name": "ai",
"maintainer": "make42",
"bootloader": "caterina",
"diode_direction": "COL2ROW",
"features": {
"bootmagic": true,
"command": false,
"console": false,
"extrakey": true,
"mousekey": true,
"nkro": true
},
"matrix_pins": {
"cols": ["F5", "F6", "F7", "B1"],
"rows": ["D0", "D4", "C6", "D7", "D1"]
},
"processor": "atmega32u4",
"url": "",
"usb": {
"device_version": "1.0.0",
"pid": "0x0000",
"vid": "0xFEED"
},
"layouts": {
"LAYOUT_ai_5x4_1": {
"layout": [
{ "matrix": [0, 0], "x": 0, "y": 0.5 },
{ "matrix": [0, 1], "x": 1, "y": 0 },
{ "matrix": [0, 2], "x": 2, "y": 0.3 },
{ "matrix": [0, 3], "x": 3, "y": 0.7 },
{ "matrix": [1, 0], "x": 0, "y": 1.5 },
{ "matrix": [1, 1], "x": 1, "y": 1 },
{ "matrix": [1, 2], "x": 2, "y": 1.3 },
{ "matrix": [1, 3], "x": 3, "y": 1.7 },
{ "matrix": [2, 0], "x": 0, "y": 2.5 },
{ "matrix": [2, 1], "x": 1, "y": 2 },
{ "matrix": [2, 2], "x": 2, "y": 2.3 },
{ "matrix": [2, 3], "x": 3, "y": 2.7 },
{ "matrix": [3, 0], "x": 0, "y": 3.5 },
{ "matrix": [3, 1], "x": 1, "y": 3 },
{ "matrix": [3, 2], "x": 2, "y": 3.3 },
{ "matrix": [3, 3], "x": 3, "y": 3.7 },
{ "matrix": [4, 1], "x": 2.5, "y": 5 },
{ "matrix": [4, 2], "x": 3.5, "y": 4.8 },
{ "matrix": [4, 3], "x": 4.5, "y": 4.6 }
]
}
}
}