summaryrefslogtreecommitdiff
path: root/keyboards/skyloong/dt40/info.json
blob: b6172465e68802fd11485f273919375b96d85a38 (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
156
157
158
159
160
161
162
163
164
165
{
    "manufacturer": "JZ-Skyloong",
    "keyboard_name": "DT40",
    "maintainer": "JZ-Skyloong",
    "bootloader": "stm32duino",
    "diode_direction": "ROW2COL",
    "features": {
        "bootmagic": true,
        "command": false,
        "console": false,
        "extrakey": true,
        "mousekey": true,
        "nkro": true,
        "rgb_matrix": true
    },
    "matrix_pins": {
        "cols": ["B12", "B5", "B8", "B9", "B10", "B11", "A15", "B7", "A2", "A1", "A0"],
        "rows": ["B6", "B15", "B2", "B14"]
    },
    "processor": "STM32F103",
    "rgb_matrix": {
        "animations": {
            "alphas_mods": true,
            "band_pinwheel_sat": true,
            "band_pinwheel_val": true,
            "band_sat": true,
            "band_spiral_sat": true,
            "band_spiral_val": true,
            "breathing": true,
            "cycle_all": true,
            "cycle_left_right": true,
            "cycle_out_in": true,
            "cycle_out_in_dual": true,
            "cycle_pinwheel": true,
            "cycle_spiral": true,
            "cycle_up_down": true,
            "dual_beacom": true,
            "gradient_left_right": true,
            "gradient_up_down": true,
            "hue_breathing": true,
            "hue_pendulum": true,
            "hue_wave": true,
            "jellybean_raindrops": true,
            "pixel_fractal": true,
            "pixel_rain": true,
            "rainbow_moving_chevron": true,
            "rainbow_pinwheels": true,
            "raindrops": true,
            "ranbow_beacon": true
        },
        "driver": "ws2812",
        "hue_steps": 20,
        "layout": [
            {"matrix": [0, 0], "x": 0, "y": 0, "flags": 4},
            {"matrix": [0, 1], "x": 28, "y": 0, "flags": 4},
            {"matrix": [0, 2], "x": 47, "y": 0, "flags": 4},
            {"matrix": [0, 3], "x": 65, "y": 0, "flags": 4},
            {"matrix": [0, 4], "x": 84, "y": 0, "flags": 4},
            {"matrix": [0, 5], "x": 103, "y": 0, "flags": 4},
            {"matrix": [0, 6], "x": 121, "y": 0, "flags": 4},
            {"matrix": [0, 7], "x": 140, "y": 0, "flags": 4},
            {"matrix": [0, 8], "x": 159, "y": 0, "flags": 4},
            {"matrix": [0, 9], "x": 177, "y": 0, "flags": 4},
            {"matrix": [0, 10], "x": 223, "y": 0, "flags": 4},
            {"matrix": [1, 0], "x": 0, "y": 21, "flags": 4},
            {"matrix": [1, 1], "x": 33, "y": 21, "flags": 4},
            {"matrix": [1, 2], "x": 51, "y": 21, "flags": 4},
            {"matrix": [1, 3], "x": 70, "y": 21, "flags": 4},
            {"matrix": [1, 4], "x": 89, "y": 21, "flags": 4},
            {"matrix": [1, 5], "x": 107, "y": 21, "flags": 4},
            {"matrix": [1, 6], "x": 126, "y": 21, "flags": 4},
            {"matrix": [1, 7], "x": 145, "y": 21, "flags": 4},
            {"matrix": [1, 8], "x": 182, "y": 21, "flags": 4},
            {"matrix": [1, 9], "x": 196, "y": 0, "flags": 4},
            {"matrix": [1, 10], "x": 219, "y": 21, "flags": 4},
            {"matrix": [2, 0], "x": 0, "y": 43, "flags": 4},
            {"matrix": [2, 1], "x": 42, "y": 43, "flags": 4},
            {"matrix": [2, 2], "x": 61, "y": 43, "flags": 4},
            {"matrix": [2, 3], "x": 79, "y": 43, "flags": 4},
            {"matrix": [2, 4], "x": 98, "y": 43, "flags": 4},
            {"matrix": [2, 5], "x": 117, "y": 43, "flags": 4},
            {"matrix": [2, 6], "x": 135, "y": 43, "flags": 4},
            {"matrix": [2, 7], "x": 154, "y": 43, "flags": 4},
            {"matrix": [2, 8], "x": 180, "y": 43, "flags": 4},
            {"matrix": [2, 9], "x": 205, "y": 43, "flags": 4},
            {"matrix": [2, 10], "x":224, "y": 43, "flags": 4},
            {"matrix": [3, 0], "x": 0, "y": 64, "flags": 4},
            {"matrix": [3, 1], "x": 23, "y": 64, "flags": 4},
            {"matrix": [3, 2], "x": 42, "y": 64, "flags": 4},
            {"matrix": [3, 3], "x": 63, "y": 64, "flags": 4},
            {"matrix": [3, 4], "x": 100, "y": 64, "flags": 4},
            {"matrix": [3, 5], "x": 163, "y":21, "flags": 4},
            {"matrix": [3, 6], "x": 145, "y": 64, "flags": 4},
            {"matrix": [3, 7], "x": 165, "y": 64, "flags": 4},
            {"matrix": [3, 8], "x": 187, "y": 64, "flags": 4},
            {"matrix": [3, 9], "x": 205, "y":64, "flags": 4},
            {"matrix": [3, 10], "x": 224, "y": 64, "flags": 4}
        ],
        "max_brightness": 180,
        "sat_steps": 20,
        "speed_steps": 20,
        "val_steps": 20
    },
    "url": "https://github.com/JZ-Skyloong",
    "usb": {
        "device_version": "1.0.0",
        "pid": "0x6040",
        "vid": "0x1EA7"
    },
    "ws2812": {
        "driver": "pwm",
        "pin": "B4"
    },
    "layouts": {
        "LAYOUT": {
            "layout": [
                {"matrix": [0, 0], "x": 0, "y": 0, "w": 1.5},
                {"matrix": [0, 1], "x": 1.5, "y": 0},
                {"matrix": [0, 2], "x": 2.5, "y": 0},
                {"matrix": [0, 3], "x": 3.5, "y": 0},
                {"matrix": [0, 4], "x": 4.5, "y": 0},
                {"matrix": [0, 5], "x": 5.5, "y": 0},
                {"matrix": [0, 6], "x": 6.5, "y": 0},
                {"matrix": [0, 7], "x": 7.5, "y": 0},
                {"matrix": [0, 8], "x": 8.5, "y": 0},
                {"matrix": [0, 9], "x": 9.5, "y": 0},
                {"matrix": [0, 10], "x": 11.5, "y": 0, "w": 1.5},
                {"matrix": [1, 0], "x": 0, "y": 1, "w": 1.75},
                {"matrix": [1, 1], "x": 1.75, "y": 1},
                {"matrix": [1, 2], "x": 2.75, "y": 1},
                {"matrix": [1, 3], "x": 3.75, "y": 1},
                {"matrix": [1, 4], "x": 4.75, "y": 1},
                {"matrix": [1, 5], "x": 5.75, "y": 1},
                {"matrix": [1, 6], "x": 6.75, "y": 1},
                {"matrix": [1, 7], "x": 7.75, "y": 1},
                {"matrix": [1, 8], "x": 9.75, "y": 1},
                {"matrix": [1, 9], "x": 10.5, "y": 0},
                {"matrix": [1, 10], "x": 10.75, "y": 1, "w": 2.25},
                {"matrix": [2, 0], "x": 0, "y": 2, "w": 2.25},
                {"matrix": [2, 1], "x": 2.25, "y": 2},
                {"matrix": [2, 2], "x": 3.25, "y": 2},
                {"matrix": [2, 3], "x": 4.25, "y": 2},
                {"matrix": [2, 4], "x": 5.25, "y": 2},
                {"matrix": [2, 5], "x": 6.25, "y": 2},
                {"matrix": [2, 6], "x": 7.25, "y": 2},
                {"matrix": [2, 7], "x": 8.25, "y": 2},
                {"matrix": [2, 8], "x": 9.25, "y": 2, "w": 1.75},
                {"matrix": [2, 9], "x": 11, "y": 2},
                {"matrix": [2, 10], "x": 12, "y": 2},
                {"matrix": [3, 0], "x": 0, "y": 3, "w": 1.25},
                {"matrix": [3, 1], "x": 1.25, "y": 3},
                {"matrix": [3, 2], "x": 2.25, "y": 3},
                {"matrix": [3, 3], "x": 3.25, "y": 3, "w": 1.25},
                {"matrix": [3, 4], "x": 4.5, "y": 3, "w": 3},
                {"matrix": [3, 5], "x": 8.75, "y": 1},
                {"matrix": [3, 6], "x": 7.5, "y": 3, "w": 1.25},
                {"matrix": [3, 7], "x": 8.75, "y": 3, "w": 1.25},
                {"matrix": [3, 8], "x": 10, "y": 3},
                {"matrix": [3, 9], "x": 11, "y": 3},
                {"matrix": [3, 10], "x": 12, "y": 3}
            ]
        }
    }
}