qmk_firmware/keyboards/adafruit/macropad/keyboard.json

132 lines
4.2 KiB
JSON

{
"keyboard_name": "Macropad RP2040",
"manufacturer": "Adafruit",
"url": "https://learn.adafruit.com/adafruit-macropad-rp2040",
"maintainer": "Jpe230",
"usb": {
"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": {
"alphas_mods": true,
"gradient_up_down": true,
"gradient_left_right": true,
"breathing": true,
"band_sat": true,
"band_val": true,
"band_pinwheel_sat": true,
"band_pinwheel_val": true,
"band_spiral_sat": true,
"band_spiral_val": true,
"cycle_all": true,
"cycle_left_right": true,
"cycle_up_down": true,
"rainbow_moving_chevron": true,
"cycle_out_in": true,
"cycle_out_in_dual": true,
"cycle_pinwheel": true,
"cycle_spiral": true,
"dual_beacon": true,
"rainbow_beacon": true,
"rainbow_pinwheels": true,
"raindrops": true,
"jellybean_raindrops": true,
"hue_breathing": true,
"hue_pendulum": true,
"hue_wave": true,
"pixel_rain": true,
"pixel_flow": true,
"pixel_fractal": true,
"typing_heatmap": true,
"digital_rain": true,
"solid_reactive_simple": true,
"solid_reactive": true,
"solid_reactive_wide": true,
"solid_reactive_multiwide": true,
"solid_reactive_cross": true,
"solid_reactive_multicross": true,
"solid_reactive_nexus": true,
"solid_reactive_multinexus": true,
"splash": true,
"multisplash": true,
"solid_splash": true,
"solid_multisplash": 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]}
]
}
}
}