summaryrefslogtreecommitdiff
path: root/keyboards/xiaomi/mk02/info.json
blob: 97baa39f5fca69d1b50b767f65a81ded3b2b6ec2 (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
{
    "keyboard_name": "MK02",
    "manufacturer": "Xiaomi",
    "url": "",
    "maintainer": "qmk",
    "usb": {
        "vid": "0xFEED",
        "pid": "0x0B91",
        "device_version": "0.0.1"
    },
    "matrix_pins": {
        "cols": ["B13", "B14", "B15", "A15", "B3", "B4", "B5", "B6", "B7", "B8", "B9", "C14", "C15", "B11", "A1", "A2", "B12"],
        "rows": ["A3", "A4", "A5", "A6", "A7", "B0"]
    },
    "diode_direction": "ROW2COL",
    "layouts": {
        "LAYOUT_tkl_ansi": {
            "layout": [
                {"x": 0, "y": 0},

                {"x": 2, "y": 0},
                {"x": 3, "y": 0},
                {"x": 4, "y": 0},
                {"x": 5, "y": 0},

                {"x": 6.5, "y": 0},
                {"x": 7.5, "y": 0},
                {"x": 8.5, "y": 0},
                {"x": 9.5, "y": 0},

                {"x": 11, "y": 0},
                {"x": 12, "y": 0},
                {"x": 13, "y": 0},
                {"x": 14, "y": 0},

                {"x": 15.25, "y": 0},
                {"x": 16.25, "y": 0},
                {"x": 17.25, "y": 0},

                {"x": 0, "y": 1.5},
                {"x": 1, "y": 1.5},
                {"x": 2, "y": 1.5},
                {"x": 3, "y": 1.5},
                {"x": 4, "y": 1.5},
                {"x": 5, "y": 1.5},
                {"x": 6, "y": 1.5},
                {"x": 7, "y": 1.5},
                {"x": 8, "y": 1.5},
                {"x": 9, "y": 1.5},
                {"x": 10, "y": 1.5},
                {"x": 11, "y": 1.5},
                {"x": 12, "y": 1.5},
                {"x": 13, "y": 1.5, "w": 2},

                {"x": 15.25, "y": 1.5},
                {"x": 16.25, "y": 1.5},
                {"x": 17.25, "y": 1.5},

                {"x": 0, "y": 2.5, "w": 1.5},
                {"x": 1.5, "y": 2.5},
                {"x": 2.5, "y": 2.5},
                {"x": 3.5, "y": 2.5},
                {"x": 4.5, "y": 2.5},
                {"x": 5.5, "y": 2.5},
                {"x": 6.5, "y": 2.5},
                {"x": 7.5, "y": 2.5},
                {"x": 8.5, "y": 2.5},
                {"x": 9.5, "y": 2.5},
                {"x": 10.5, "y": 2.5},
                {"x": 11.5, "y": 2.5},
                {"x": 12.5, "y": 2.5},
                {"x": 13.5, "y": 2.5, "w": 1.5},

                {"x": 15.25, "y": 2.5},
                {"x": 16.25, "y": 2.5},
                {"x": 17.25, "y": 2.5},

                {"x": 0, "y": 3.5, "w": 1.75},
                {"x": 1.75, "y": 3.5},
                {"x": 2.75, "y": 3.5},
                {"x": 3.75, "y": 3.5},
                {"x": 4.75, "y": 3.5},
                {"x": 5.75, "y": 3.5},
                {"x": 6.75, "y": 3.5},
                {"x": 7.75, "y": 3.5},
                {"x": 8.75, "y": 3.5},
                {"x": 9.75, "y": 3.5},
                {"x": 10.75, "y": 3.5},
                {"x": 11.75, "y": 3.5},
                {"x": 12.75, "y": 3.5, "w": 2.25},

                {"x": 0, "y": 4.5, "w": 2.25},
                {"x": 2.25, "y": 4.5},
                {"x": 3.25, "y": 4.5},
                {"x": 4.25, "y": 4.5},
                {"x": 5.25, "y": 4.5},
                {"x": 6.25, "y": 4.5},
                {"x": 7.25, "y": 4.5},
                {"x": 8.25, "y": 4.5},
                {"x": 9.25, "y": 4.5},
                {"x": 10.25, "y": 4.5},
                {"x": 11.25, "y": 4.5},
                {"x": 12.25, "y": 4.5, "w": 2.75},

                {"x": 16.25, "y": 4.5},

                {"x": 0, "y": 5.5, "w": 1.25},
                {"x": 1.25, "y": 5.5, "w": 1.25},
                {"x": 2.5, "y": 5.5, "w": 1.25},
                {"x": 3.75, "y": 5.5, "w": 6.25},
                {"x": 10, "y": 5.5, "w": 1.25},
                {"x": 11.25, "y": 5.5, "w": 1.25},
                {"x": 12.5, "y": 5.5, "w": 1.25},
                {"x": 13.75, "y": 5.5, "w": 1.25},

                {"x": 15.25, "y": 5.5},
                {"x": 16.25, "y": 5.5},
                {"x": 17.25, "y": 5.5}
            ]
        }
    }
}