92 lines
2.8 KiB
JSON
92 lines
2.8 KiB
JSON
{
|
|
"keyboard_name": "MLS AdaFruit RP2040 Macropad",
|
|
"manufacturer": "aks_mls",
|
|
"url": "https://learn.adafruit.com/adafruit-macropad-rp2040",
|
|
"maintainer": "aks-mls",
|
|
"usb": {
|
|
"pid": "0x0004",
|
|
"vid": "0xDF04",
|
|
// "vid": "0x239A",
|
|
// "pid": "0x0108",
|
|
"device_version": "0.0.1"
|
|
},
|
|
"features": {
|
|
"bootmagic": true,
|
|
"mousekey": false,
|
|
"extrakey": true,
|
|
"nkro": true,
|
|
"audio": true,
|
|
"encoder": true,
|
|
"rgb_matrix": true,
|
|
"oled": true
|
|
},
|
|
"audio": {
|
|
"driver": "pwm_hardware",
|
|
"power_control": {
|
|
"pin": "GP14"
|
|
}
|
|
},
|
|
"encoder": {
|
|
"rotary": [
|
|
{"pin_a": "GP18", "pin_b": "GP17"}
|
|
]
|
|
},
|
|
"rgb_matrix": {
|
|
"animations": {
|
|
"breathing": true,
|
|
"hue_breathing": true
|
|
},
|
|
"driver": "ws2812",
|
|
"layout": [
|
|
{"matrix": [1, 0], "x": 0, "y": 0, "flags": 4},
|
|
{"matrix": [1, 1], "x": 112, "y": 0, "flags": 4},
|
|
{"matrix": [1, 2], "x": 224, "y": 0, "flags": 4},
|
|
{"matrix": [2, 0], "x": 0, "y": 21, "flags": 4},
|
|
{"matrix": [2, 1], "x": 112, "y": 21, "flags": 4},
|
|
{"matrix": [2, 2], "x": 224, "y": 21, "flags": 4},
|
|
{"matrix": [3, 0], "x": 0, "y": 42, "flags": 4},
|
|
{"matrix": [3, 1], "x": 112, "y": 42, "flags": 4},
|
|
{"matrix": [3, 2], "x": 224, "y": 42, "flags": 4},
|
|
{"matrix": [4, 0], "x": 0, "y": 64, "flags": 4},
|
|
{"matrix": [4, 1], "x": 112, "y": 64, "flags": 4},
|
|
{"matrix": [4, 2], "x": 224, "y": 64, "flags": 4}
|
|
]
|
|
},
|
|
"bootmagic": {
|
|
"matrix": [1, 2]
|
|
},
|
|
"ws2812": {
|
|
"pin": "GP19",
|
|
"driver": "vendor"
|
|
},
|
|
"processor": "RP2040",
|
|
"bootloader": "rp2040",
|
|
"matrix_pins": {
|
|
"direct": [
|
|
[null, null, "GP0"],
|
|
["GP1", "GP2", "GP3"],
|
|
["GP4", "GP5", "GP6"],
|
|
["GP7", "GP8", "GP9"],
|
|
["GP10", "GP11", "GP12"]
|
|
]
|
|
},
|
|
"layouts": {
|
|
"LAYOUT": {
|
|
"layout": [
|
|
{"x": 2, "y": 0, "matrix": [0, 2]},
|
|
{"x": 0, "y": 1, "matrix": [1, 0]},
|
|
{"x": 1, "y": 1, "matrix": [1, 1]},
|
|
{"x": 2, "y": 1, "matrix": [1, 2]},
|
|
{"x": 0, "y": 2, "matrix": [2, 0]},
|
|
{"x": 1, "y": 2, "matrix": [2, 1]},
|
|
{"x": 2, "y": 2, "matrix": [2, 2]},
|
|
{"x": 0, "y": 3, "matrix": [3, 0]},
|
|
{"x": 1, "y": 3, "matrix": [3, 1]},
|
|
{"x": 2, "y": 3, "matrix": [3, 2]},
|
|
{"x": 0, "y": 4, "matrix": [4, 0]},
|
|
{"x": 1, "y": 4, "matrix": [4, 1]},
|
|
{"x": 2, "y": 4, "matrix": [4, 2]}
|
|
]
|
|
}
|
|
}
|
|
}
|