summaryrefslogtreecommitdiff
path: root/keyboards/draculad/info.json
blob: 57250d57efedecb7672f2e1de262645532342d3e (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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
    "keyboard_name": "DracuLad",
    "manufacturer": "MangoIV",
    "url": "",
    "maintainer": "MangoIV",
    "usb": {
        "vid": "0xFEED",
        "pid": "0x1B1E",
        "device_version": "0.0.1"
    },
    "ws2812": {
        "pin": "D3"
    },
    "matrix_pins": {
        "cols": ["F4", "F5", "F6", "F7", "B1"],
        "rows": ["D4", "C6", "D7", "E6"]
    },
    "diode_direction": "COL2ROW",
    "encoder": {
        "rotary": [
            {"pin_a": "B2", "pin_b": "B6"},
            {"pin_a": "B4", "pin_b": "B5"}
        ]
    },
    "split": {
        "soft_serial_pin": "D2",
        "encoder": {
            "right": {
                "rotary": [
                    {"pin_a": "B2", "pin_b": "B6", "resolution": 4},
                    {"pin_a": "B4", "pin_b": "B5", "resolution": 1}
                ]
            }
        }
    },
    "processor": "atmega32u4",
    "bootloader": "caterina",
    "layouts": {
        "LAYOUT": {
            "layout": [
                {"matrix": [0, 0], "x": 0, "y": 1},
                {"matrix": [0, 1], "x": 1, "y": 0.35},
                {"matrix": [0, 2], "x": 2, "y": 0},
                {"matrix": [0, 3], "x": 3, "y": 0.35},
                {"matrix": [0, 4], "x": 4, "y": 0.5},

                {"matrix": [4, 4], "x": 8, "y": 0.5},
                {"matrix": [4, 3], "x": 9, "y": 0.35},
                {"matrix": [4, 2], "x": 10, "y": 0},
                {"matrix": [4, 1], "x": 11, "y": 0.35},
                {"matrix": [4, 0], "x": 12, "y": 1},

                {"matrix": [1, 0], "x": 0, "y": 2},
                {"matrix": [1, 1], "x": 1, "y": 1.35},
                {"matrix": [1, 2], "x": 2, "y": 1},
                {"matrix": [1, 3], "x": 3, "y": 1.35},
                {"matrix": [1, 4], "x": 4, "y": 1.5},

                {"matrix": [5, 4], "x": 8, "y": 1.5},
                {"matrix": [5, 3], "x": 9, "y": 1.35},
                {"matrix": [5, 2], "x": 10, "y": 1},
                {"matrix": [5, 1], "x": 11, "y": 1.35},
                {"matrix": [5, 0], "x": 12, "y": 2},

                {"matrix": [2, 0], "x": 0, "y": 3},
                {"matrix": [2, 1], "x": 1, "y": 2.35},
                {"matrix": [2, 2], "x": 2, "y": 2},
                {"matrix": [2, 3], "x": 3, "y": 2.35},
                {"matrix": [2, 4], "x": 4, "y": 2.5},

                {"matrix": [6, 4], "x": 8, "y": 2.5},
                {"matrix": [6, 3], "x": 9, "y": 2.35},
                {"matrix": [6, 2], "x": 10, "y": 2},
                {"matrix": [6, 1], "x": 11, "y": 2.35},
                {"matrix": [6, 0], "x": 12, "y": 3},

                {"matrix": [3, 1], "x": 4.25, "y": 3.5},

                {"matrix": [7, 1], "x": 7.75, "y": 3.5},

                {"matrix": [3, 2], "x": 3, "y": 4.5},
                {"matrix": [3, 3], "x": 4, "y": 4.5},
                {"matrix": [3, 4], "x": 5, "y": 4.5},

                {"matrix": [7, 4], "x": 7, "y": 4.5},
                {"matrix": [7, 3], "x": 8, "y": 4.5},
                {"matrix": [7, 2], "x": 9, "y": 4.5}
            ]
        }
    }
}