summaryrefslogtreecommitdiffstats
path: root/keyboards/adafruit/macropad/info.json
blob: 9eb530122685a3e8e5cbc079f92d4472e92abbeb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{
    "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"
    },
    "encoder": {
        "rotary": [
            {"pin_a": "GP18", "pin_b": "GP17"}
        ]
    },
    "bootmagic": {
        "matrix": [1, 2]
    },
    "ws2812": {
        "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]}
            ]
        }
    }
}