2023-02-28 21:24:35 +01:00
|
|
|
{
|
|
|
|
"manufacturer": "gkeyboard",
|
|
|
|
"keyboard_name": "GPAD8-2R",
|
|
|
|
"url": "https://github.com/gkeyboard/GPAD8-2R",
|
|
|
|
"maintainer": "gkeyboard",
|
|
|
|
"bootloader": "rp2040",
|
|
|
|
"processor": "RP2040",
|
|
|
|
"board": "GENERIC_RP_RP2040",
|
|
|
|
"usb": {
|
|
|
|
"vid": "0x474B",
|
|
|
|
"pid": "0x4202",
|
|
|
|
"device_version": "1.0.0"
|
|
|
|
},
|
|
|
|
"features": {
|
|
|
|
"bootmagic": true,
|
|
|
|
"command": false,
|
|
|
|
"console": false,
|
|
|
|
"extrakey": true,
|
|
|
|
"mousekey": true,
|
|
|
|
"nkro": true,
|
|
|
|
"rgb_matrix": true
|
|
|
|
},
|
|
|
|
"matrix_pins": {
|
|
|
|
"cols": ["GP12", "GP11", "GP10", "GP9"],
|
|
|
|
"rows": ["GP4", "GP5", "GP6"]
|
|
|
|
},
|
|
|
|
"diode_direction": "COL2ROW",
|
|
|
|
"encoder": {
|
|
|
|
"enabled": true,
|
|
|
|
"rotary": [
|
2023-04-16 07:37:24 +02:00
|
|
|
{"pin_a": "GP29", "pin_b": "GP28", "resolution": 4},
|
|
|
|
{"pin_a": "GP2", "pin_b": "GP3", "resolution": 4}
|
2023-02-28 21:24:35 +01:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"rgb_matrix": {
|
|
|
|
"driver": "WS2812",
|
|
|
|
"layout": [
|
2023-05-04 11:09:59 +02:00
|
|
|
{"flags": 4, "matrix": [1, 0], "x": 28, "y": 12},
|
|
|
|
{"flags": 4, "matrix": [1, 1], "x": 84, "y": 12},
|
|
|
|
{"flags": 4, "matrix": [1, 2], "x": 140, "y": 12},
|
|
|
|
{"flags": 4, "matrix": [1, 3], "x": 196, "y": 12},
|
|
|
|
{"flags": 4, "matrix": [2, 0], "x": 28, "y": 28},
|
|
|
|
{"flags": 4, "matrix": [2, 1], "x": 84, "y": 28},
|
|
|
|
{"flags": 4, "matrix": [2, 2], "x": 140, "y": 28},
|
|
|
|
{"flags": 4, "matrix": [2, 3], "x": 196, "y": 28},
|
|
|
|
{"flags": 2, "x": 28, "y": 44},
|
|
|
|
{"flags": 2, "x": 84, "y": 44},
|
|
|
|
{"flags": 2, "x": 140, "y": 44},
|
|
|
|
{"flags": 2, "x": 196, "y": 44},
|
|
|
|
{"flags": 2, "x": 28, "y": 60},
|
|
|
|
{"flags": 2, "x": 84, "y": 60},
|
|
|
|
{"flags": 2, "x": 140, "y": 60},
|
|
|
|
{"flags": 2, "x": 196, "y": 60}
|
2023-02-28 21:24:35 +01:00
|
|
|
]
|
|
|
|
},
|
2023-03-26 09:22:12 +02:00
|
|
|
"ws2812": {
|
2023-04-06 10:00:54 +02:00
|
|
|
"pin": "GP19",
|
2023-03-26 09:22:12 +02:00
|
|
|
"driver": "vendor"
|
|
|
|
},
|
2023-02-28 21:24:35 +01:00
|
|
|
"layouts": {
|
|
|
|
"LAYOUT": {
|
|
|
|
"layout": [
|
2023-05-04 11:09:59 +02:00
|
|
|
{"matrix": [0, 0], "x": 0, "y": 0},
|
|
|
|
{"matrix": [0, 3], "x": 3, "y": 0},
|
|
|
|
{"matrix": [1, 0], "x": 0, "y": 1.25},
|
|
|
|
{"matrix": [1, 1], "x": 1, "y": 1.25},
|
|
|
|
{"matrix": [1, 2], "x": 2, "y": 1.25},
|
|
|
|
{"matrix": [1, 3], "x": 3, "y": 1.25},
|
|
|
|
{"matrix": [2, 0], "x": 0, "y": 2.25},
|
|
|
|
{"matrix": [2, 1], "x": 1, "y": 2.25},
|
|
|
|
{"matrix": [2, 2], "x": 2, "y": 2.25},
|
|
|
|
{"matrix": [2, 3], "x": 3, "y": 2.25}
|
2023-02-28 21:24:35 +01:00
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|