summaryrefslogtreecommitdiff
path: root/keyboards/splitkb/aurora/sweep/rev1/info.json
blob: 16c490ad5f39d432baa877dbe868568ed0f79d71 (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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
{
    "keyboard_name": "Aurora Sweep rev1",
    "usb": {
        "pid": "0xEC17"
    },
    "features": {
        "mousekey": true,
        "bootmagic": true,
        "extrakey": true
    },
    "layouts": {
        "LAYOUT_split_3x5_2": {
            "layout": [
                // Note: `label` is here only for readability,
                // order must match the parent's definition!
                {"label": "L01", "matrix": [0, 4]},
                {"label": "L02", "matrix": [0, 3]},
                {"label": "L03", "matrix": [0, 2]},
                {"label": "L04", "matrix": [0, 1]},
                {"label": "L05", "matrix": [0, 0]},
                {"label": "R05", "matrix": [4, 0]},
                {"label": "R04", "matrix": [4, 1]},
                {"label": "R03", "matrix": [4, 2]},
                {"label": "R02", "matrix": [4, 3]},
                {"label": "R01", "matrix": [4, 4]},

                {"label": "L06", "matrix": [1, 4]},
                {"label": "L07", "matrix": [1, 3]},
                {"label": "L08", "matrix": [1, 2]},
                {"label": "L09", "matrix": [1, 1]},
                {"label": "L10", "matrix": [1, 0]},
                {"label": "R10", "matrix": [5, 0]},
                {"label": "R09", "matrix": [5, 1]},
                {"label": "R08", "matrix": [5, 2]},
                {"label": "R07", "matrix": [5, 3]},
                {"label": "R06", "matrix": [5, 4]},

                {"label": "L11", "matrix": [2, 4]},
                {"label": "L12", "matrix": [2, 3]},
                {"label": "L13", "matrix": [2, 2]},
                {"label": "L14", "matrix": [2, 1]},
                {"label": "L15", "matrix": [2, 0]},
                {"label": "R15", "matrix": [6, 0]},
                {"label": "R14", "matrix": [6, 1]},
                {"label": "R13", "matrix": [6, 2]},
                {"label": "R12", "matrix": [6, 3]},
                {"label": "R11", "matrix": [6, 4]},

                {"label": "L16", "matrix": [3, 1]},
                {"label": "L17", "matrix": [3, 0]},
                {"label": "R17", "matrix": [7, 0]},
                {"label": "R16", "matrix": [7, 1]}
            ]
        }
    },
    "diode_direction": "ROW2COL",
    "matrix_pins": {
        "rows": ["F6", "F5", "F7", "B1"],
        "cols": ["B6", "D4", "C6", "D7", "E6"]
    },
    "encoder": {
        "rotary": [
            {
                "pin_a": "B5",
                "pin_b": "B4"
            },
            {
                "pin_a": "B3",
                "pin_b": "B2"
            }
        ]
    },
    "split": {
        "soft_serial_pin": "D2",
        "main": "pin",
        "matrix_pins": {
            "right": {
                "rows": ["B1", "F7", "F6", "B3"],
                "cols": ["B5", "B4", "E6", "D7", "C6"]
            }
        },
        "encoder": {
            "right": {
                "rotary": [
                    {
                        "pin_a": "B2",
                        "pin_b": "B6"
                    },
                    {
                        "pin_a": "F5",
                        "pin_b": "D4"
                    }
                ]
            }
        }
    },
    "rgblight": {
        "pin": "D3",
        "led_count": 46,
        "split": true,
        "split_count": [23, 23],
        "max_brightness": 128
    },
    "rgb_matrix": {
        "driver": "WS2812",
        "layout": [
            {"flags": 2, "x":  71, "y": 15},                   // L RGB1
            {"flags": 2, "x":  51, "y":  8},                   // L RGB2
            {"flags": 2, "x":  10, "y": 13},                   // L RGB3
            {"flags": 2, "x":  10, "y": 42},                   // L RGB4
            {"flags": 2, "x":  41, "y": 45},                   // L RGB5
            {"flags": 2, "x":  76, "y": 50},                   // L RGB6
            {"flags": 4, "matrix": [0, 4], "x":   0, "y": 15}, // L SW01
            {"flags": 4, "matrix": [0, 3], "x":  20, "y":  5}, // L SW02
            {"flags": 4, "matrix": [0, 2], "x":  41, "y":  0}, // L SW03
            {"flags": 4, "matrix": [0, 1], "x":  61, "y":  4}, // L SW04
            {"flags": 4, "matrix": [0, 0], "x":  81, "y":  7}, // L SW05
            {"flags": 4, "matrix": [1, 4], "x":   0, "y": 31}, // L SW06
            {"flags": 4, "matrix": [1, 3], "x":  20, "y": 21}, // L SW07
            {"flags": 4, "matrix": [1, 2], "x":  41, "y": 16}, // L SW08
            {"flags": 4, "matrix": [1, 1], "x":  61, "y": 20}, // L SW09
            {"flags": 4, "matrix": [1, 0], "x":  81, "y": 23}, // L SW10
            {"flags": 4, "matrix": [2, 4], "x":   0, "y": 47}, // L SW11
            {"flags": 4, "matrix": [2, 3], "x":  20, "y": 37}, // L SW12
            {"flags": 4, "matrix": [2, 2], "x":  41, "y": 32}, // L SW13
            {"flags": 4, "matrix": [2, 1], "x":  61, "y": 36}, // L SW14
            {"flags": 4, "matrix": [2, 0], "x":  81, "y": 39}, // L SW15
            {"flags": 4, "matrix": [3, 1], "x":  71, "y": 60}, // L SW16
            {"flags": 4, "matrix": [3, 0], "x":  92, "y": 64}, // L SW17
            {"flags": 2, "x": 150, "y": 15},                   // R RGB1
            {"flags": 2, "x": 190, "y":  8},                   // R RGB2
            {"flags": 2, "x": 210, "y": 13},                   // R RGB3
            {"flags": 2, "x": 220, "y": 42},                   // R RGB4
            {"flags": 2, "x": 183, "y": 45},                   // R RGB5
            {"flags": 2, "x": 155, "y": 50},                   // R RGB6
            {"flags": 4, "matrix": [4, 0], "x": 143, "y":  7}, // R SW05
            {"flags": 4, "matrix": [4, 1], "x": 163, "y":  4}, // R SW04
            {"flags": 4, "matrix": [4, 2], "x": 183, "y":  0}, // R SW03
            {"flags": 4, "matrix": [4, 3], "x": 204, "y":  5}, // R SW02
            {"flags": 4, "matrix": [4, 4], "x": 224, "y": 15}, // R SW01
            {"flags": 4, "matrix": [5, 0], "x": 143, "y": 23}, // R SW10
            {"flags": 4, "matrix": [5, 1], "x": 163, "y": 20}, // R SW09
            {"flags": 4, "matrix": [5, 2], "x": 183, "y": 16}, // R SW08
            {"flags": 4, "matrix": [5, 3], "x": 204, "y": 21}, // R SW07
            {"flags": 4, "matrix": [5, 4], "x": 224, "y": 31}, // R SW06
            {"flags": 4, "matrix": [6, 0], "x": 143, "y": 39}, // R SW15
            {"flags": 4, "matrix": [6, 1], "x": 163, "y": 36}, // R SW14
            {"flags": 4, "matrix": [6, 2], "x": 183, "y": 32}, // R SW13
            {"flags": 4, "matrix": [6, 3], "x": 204, "y": 37}, // R SW12
            {"flags": 4, "matrix": [6, 4], "x": 224, "y": 47}, // R SW11
            {"flags": 4, "matrix": [7, 0], "x": 132, "y": 64}, // R SW17
            {"flags": 4, "matrix": [7, 1], "x": 153, "y": 60}  // R SW16
        ]
    }
}