summary refs log tree commit diff stats
path: root/src/keyboard.json
blob: 07b2e4be330ca7679922fb91400595a2229ba032 (plain) (blame)
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
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
{
    "keyboard_name": "Moonlander Mark I",
    "manufacturer": "ZSA Technology Labs",

    "url": "zsa.io/moonlander",
    "maintainer": "ZSA via Drashna",

    "usb": {
        "vid": "0x3297",
        "pid": "0x1969",
        "device_version": "0.0.1",

        "shared_endpoint": {
            "mouse": false
        }
    },

    "qmk": {
        "locking": {
            "enabled": true,
            "resync": true
        }
    },

    "audio": {
        "driver": "dac_additive"
    },
    "dynamic_keymap": {
        "layer_count": 8
    },

    "eeprom": {
        "driver": "i2c"
    },

    "rgb_matrix": {
        "center_point": [120, 36],
        "driver": "is31fl3731",
        "layout": [
            {"matrix": [0, 0], "x": 0, "y": 4, "flags": 1},
            {"matrix": [1, 0], "x": 0, "y": 20, "flags": 1},
            {"matrix": [2, 0], "x": 0, "y": 36, "flags": 1},
            {"matrix": [3, 0], "x": 0, "y": 52, "flags": 1},
            {"matrix": [4, 0], "x": 0, "y": 68, "flags": 1},
            {"matrix": [0, 1], "x": 16, "y": 3, "flags": 4},
            {"matrix": [1, 1], "x": 16, "y": 19, "flags": 4},
            {"matrix": [2, 1], "x": 16, "y": 35, "flags": 4},
            {"matrix": [3, 1], "x": 16, "y": 51, "flags": 4},
            {"matrix": [4, 1], "x": 16, "y": 67, "flags": 1},
            {"matrix": [0, 2], "x": 32, "y": 1, "flags": 4},
            {"matrix": [1, 2], "x": 32, "y": 17, "flags": 4},
            {"matrix": [2, 2], "x": 32, "y": 33, "flags": 4},
            {"matrix": [3, 2], "x": 32, "y": 49, "flags": 4},
            {"matrix": [4, 2], "x": 32, "y": 65, "flags": 1},
            {"matrix": [0, 3], "x": 48, "y": 0, "flags": 4},
            {"matrix": [1, 3], "x": 48, "y": 16, "flags": 4},
            {"matrix": [2, 3], "x": 48, "y": 32, "flags": 4},
            {"matrix": [3, 3], "x": 48, "y": 48, "flags": 4},
            {"matrix": [4, 3], "x": 48, "y": 64, "flags": 1},
            {"matrix": [0, 4], "x": 64, "y": 1, "flags": 4},
            {"matrix": [1, 4], "x": 64, "y": 17, "flags": 4},
            {"matrix": [2, 4], "x": 64, "y": 33, "flags": 4},
            {"matrix": [3, 4], "x": 64, "y": 49, "flags": 4},
            {"matrix": [4, 4], "x": 64, "y": 65, "flags": 1},
            {"matrix": [0, 5], "x": 80, "y": 3, "flags": 4},
            {"matrix": [1, 5], "x": 80, "y": 19, "flags": 4},
            {"matrix": [2, 5], "x": 80, "y": 35, "flags": 4},
            {"matrix": [3, 5], "x": 80, "y": 51, "flags": 4},
            {"matrix": [0, 6], "x": 96, "y": 4, "flags": 1},
            {"matrix": [1, 6], "x": 96, "y": 20, "flags": 1},
            {"matrix": [2, 6], "x": 96, "y": 36, "flags": 1},
            {"matrix": [5, 0], "x": 88, "y": 69, "flags": 1},
            {"matrix": [5, 1], "x": 100, "y": 80, "flags": 1},
            {"matrix": [5, 2], "x": 112, "y": 91, "flags": 1},
            {"matrix": [5, 3], "x": 108, "y": 69, "flags": 1},
            {"matrix": [6, 6], "x": 240, "y": 4, "flags": 1},
            {"matrix": [7, 6], "x": 240, "y": 20, "flags": 1},
            {"matrix": [8, 6], "x": 240, "y": 36, "flags": 1},
            {"matrix": [9, 6], "x": 240, "y": 52, "flags": 1},
            {"matrix": [10, 6], "x": 240, "y": 68, "flags": 1},
            {"matrix": [6, 5], "x": 224, "y": 3, "flags": 4},
            {"matrix": [7, 5], "x": 224, "y": 19, "flags": 4},
            {"matrix": [8, 5], "x": 224, "y": 35, "flags": 4},
            {"matrix": [9, 5], "x": 224, "y": 51, "flags": 4},
            {"matrix": [10, 5], "x": 224, "y": 67, "flags": 1},
            {"matrix": [6, 4], "x": 208, "y": 1, "flags": 4},
            {"matrix": [7, 4], "x": 208, "y": 17, "flags": 4},
            {"matrix": [8, 4], "x": 208, "y": 33, "flags": 4},
            {"matrix": [9, 4], "x": 208, "y": 49, "flags": 4},
            {"matrix": [10, 4], "x": 208, "y": 65, "flags": 1},
            {"matrix": [6, 3], "x": 192, "y": 0, "flags": 4},
            {"matrix": [7, 3], "x": 192, "y": 16, "flags": 4},
            {"matrix": [8, 3], "x": 192, "y": 32, "flags": 4},
            {"matrix": [9, 3], "x": 192, "y": 48, "flags": 4},
            {"matrix": [10, 3], "x": 192, "y": 64, "flags": 1},
            {"matrix": [6, 2], "x": 176, "y": 1, "flags": 4},
            {"matrix": [7, 2], "x": 176, "y": 17, "flags": 4},
            {"matrix": [8, 2], "x": 176, "y": 33, "flags": 4},
            {"matrix": [9, 2], "x": 176, "y": 49, "flags": 4},
            {"matrix": [10, 2], "x": 176, "y": 65, "flags": 1},
            {"matrix": [6, 1], "x": 160, "y": 3, "flags": 4},
            {"matrix": [7, 1], "x": 160, "y": 19, "flags": 4},
            {"matrix": [8, 1], "x": 160, "y": 35, "flags": 4},
            {"matrix": [9, 1], "x": 160, "y": 51, "flags": 4},
            {"matrix": [6, 0], "x": 144, "y": 4, "flags": 1},
            {"matrix": [7, 0], "x": 144, "y": 20, "flags": 1},
            {"matrix": [8, 0], "x": 144, "y": 36, "flags": 1},
            {"matrix": [11, 6], "x": 152, "y": 69, "flags": 1},
            {"matrix": [11, 5], "x": 140, "y": 80, "flags": 1},
            {"matrix": [11, 4], "x": 128, "y": 91, "flags": 1},
            {"matrix": [11, 3], "x": 132, "y": 69, "flags": 1}
        ],
        "led_flush_limit": 26,
        "led_process_limit": 5,
        "max_brightness": 175,
        "sleep": true
    },

    "processor": "STM32F303",
    "bootloader": "stm32-dfu",
    "layout_aliases": {
        "LAYOUT_moonlander": "LAYOUT"
    },
    "layouts": {
        "LAYOUT": {
            "layout": [
                {"matrix": [0, 0], "x": 0, "y": 0.375},
                {"matrix": [0, 1], "x": 1, "y": 0.375},
                {"matrix": [0, 2], "x": 2, "y": 0.125},
                {"matrix": [0, 3], "x": 3, "y": 0},
                {"matrix": [0, 4], "x": 4, "y": 0.125},
                {"matrix": [0, 5], "x": 5, "y": 0.25},
                {"matrix": [0, 6], "x": 6, "y": 0.25},

                {"matrix": [6, 0], "x": 10, "y": 0.25},
                {"matrix": [6, 1], "x": 11, "y": 0.25},
                {"matrix": [6, 2], "x": 12, "y": 0.125},
                {"matrix": [6, 3], "x": 13, "y": 0},
                {"matrix": [6, 4], "x": 14, "y": 0.125},
                {"matrix": [6, 5], "x": 15, "y": 0.375},
                {"matrix": [6, 6], "x": 16, "y": 0.375},

                {"matrix": [1, 0], "x": 0, "y": 1.375},
                {"matrix": [1, 1], "x": 1, "y": 1.375},
                {"matrix": [1, 2], "x": 2, "y": 1.125},
                {"matrix": [1, 3], "x": 3, "y": 1},
                {"matrix": [1, 4], "x": 4, "y": 1.125},
                {"matrix": [1, 5], "x": 5, "y": 1.25},
                {"matrix": [1, 6], "x": 6, "y": 1.25},

                {"matrix": [7, 0], "x": 10, "y": 1.25},
                {"matrix": [7, 1], "x": 11, "y": 1.25},
                {"matrix": [7, 2], "x": 12, "y": 1.125},
                {"matrix": [7, 3], "x": 13, "y": 1},
                {"matrix": [7, 4], "x": 14, "y": 1.125},
                {"matrix": [7, 5], "x": 15, "y": 1.375},
                {"matrix": [7, 6], "x": 16, "y": 1.375},

                {"matrix": [2, 0], "x": 0, "y": 2.375},
                {"matrix": [2, 1], "x": 1, "y": 2.375},
                {"matrix": [2, 2], "x": 2, "y": 2.125},
                {"matrix": [2, 3], "x": 3, "y": 2},
                {"matrix": [2, 4], "x": 4, "y": 2.125},
                {"matrix": [2, 5], "x": 5, "y": 2.25},
                {"matrix": [2, 6], "x": 6, "y": 2.25},

                {"matrix": [8, 0], "x": 10, "y": 2.25},
                {"matrix": [8, 1], "x": 11, "y": 2.25},
                {"matrix": [8, 2], "x": 12, "y": 2.125},
                {"matrix": [8, 3], "x": 13, "y": 2},
                {"matrix": [8, 4], "x": 14, "y": 2.125},
                {"matrix": [8, 5], "x": 15, "y": 2.375},
                {"matrix": [8, 6], "x": 16, "y": 2.375},

                {"matrix": [3, 0], "x": 0, "y": 3.375},
                {"matrix": [3, 1], "x": 1, "y": 3.375},
                {"matrix": [3, 2], "x": 2, "y": 3.125},
                {"matrix": [3, 3], "x": 3, "y": 3},
                {"matrix": [3, 4], "x": 4, "y": 3.125},
                {"matrix": [3, 5], "x": 5, "y": 3.25},

                {"matrix": [9, 1], "x": 11, "y": 3.25},
                {"matrix": [9, 2], "x": 12, "y": 3.125},
                {"matrix": [9, 3], "x": 13, "y": 3},
                {"matrix": [9, 4], "x": 14, "y": 3.125},
                {"matrix": [9, 5], "x": 15, "y": 3.375},
                {"matrix": [9, 6], "x": 16, "y": 3.375},

                {"matrix": [4, 0], "x": 0, "y": 4.375},
                {"matrix": [4, 1], "x": 1, "y": 4.375},
                {"matrix": [4, 2], "x": 2, "y": 4.125},
                {"matrix": [4, 3], "x": 3, "y": 4},
                {"matrix": [4, 4], "x": 4, "y": 4.125},
                {"matrix": [5, 3], "x": 5, "y": 4.5, "w": 2},

                {"matrix": [11, 3], "x": 10, "y": 4.5, "w": 2},
                {"matrix": [10, 2], "x": 12, "y": 4.125},
                {"matrix": [10, 3], "x": 13, "y": 4},
                {"matrix": [10, 4], "x": 14, "y": 4.125},
                {"matrix": [10, 5], "x": 15, "y": 4.375},
                {"matrix": [10, 6], "x": 16, "y": 4.375},

                {"matrix": [5, 0], "x": 5, "y": 5.5, "h": 1.5},
                {"matrix": [5, 1], "x": 6, "y": 5.5, "h": 1.5},
                {"matrix": [5, 2], "x": 7, "y": 5.5, "h": 1.5},

                {"matrix": [11, 4], "x": 9, "y": 5.5, "h": 1.5},
                {"matrix": [11, 5], "x": 10, "y": 5.5, "h": 1.5},
                {"matrix": [11, 6], "x": 11, "y": 5.5, "h": 1.5}
            ]
        }
    }
}