Skip to content

Commit 7bf94e2

Browse files
committed
migrate minisub to keyboard.json format
1 parent 7cbeefb commit 7bf94e2

5 files changed

Lines changed: 244 additions & 81 deletions

File tree

firmware/minisub/config.h

Lines changed: 0 additions & 1 deletion
This file was deleted.

firmware/minisub/info.json

Lines changed: 0 additions & 66 deletions
This file was deleted.

firmware/minisub/keyboard.json

Lines changed: 244 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,244 @@
1+
{
2+
"keyboard_name": "Minisub",
3+
"manufacturer": "Rainkeebs",
4+
"url": "",
5+
"maintainer": "qmk",
6+
"processor": "atmega32u4",
7+
"bootloader": "atmel-dfu",
8+
"usb": {
9+
"vid": "0x726B",
10+
"pid": "0x6D73",
11+
"device_version": "0.0.1"
12+
},
13+
"diode_direction": "COL2ROW",
14+
"matrix_pins": {
15+
"cols": ["D2", "D3", "D5", "D6", "B4", "B6", "F6", "F5", "F4", "F1", "F0", "B3"],
16+
"rows": ["D7", "B5", "F7", "D4"]
17+
},
18+
"features": {
19+
"audio": false,
20+
"backlight": false,
21+
"bootmagic": true,
22+
"command": true,
23+
"console": false,
24+
"extrakey": true,
25+
"mousekey": true,
26+
"nkro": true,
27+
"rgblight": true
28+
},
29+
"qmk": {
30+
"locking": {
31+
"enabled": true,
32+
"resync": true
33+
}
34+
},
35+
"rgblight": {
36+
"animations": {
37+
"breathing": true
38+
},
39+
"max_brightness": 255,
40+
"sleep": true,
41+
"led_count": 20
42+
},
43+
"ws2812": {
44+
"pin": "D0"
45+
},
46+
"layouts": {
47+
"LAYOUT": {
48+
"layout": [
49+
{"matrix": [0, 0], "x": 0, "y": 0},
50+
{"matrix": [0, 1], "x": 1, "y": 0},
51+
{"matrix": [0, 2], "x": 2, "y": 0},
52+
{"matrix": [0, 3], "x": 3, "y": 0},
53+
{"matrix": [0, 4], "x": 4, "y": 0},
54+
{"matrix": [0, 5], "x": 5, "y": 0},
55+
{"matrix": [0, 6], "x": 6, "y": 0},
56+
{"matrix": [0, 7], "x": 7, "y": 0},
57+
{"matrix": [0, 8], "x": 8, "y": 0},
58+
{"matrix": [0, 9], "x": 9, "y": 0},
59+
{"matrix": [0, 10], "x": 10, "y": 0},
60+
{"matrix": [0, 11], "x": 11, "y": 0, "w": 1.75},
61+
{"matrix": [1, 0], "x": 0, "y": 1, "w": 1.25},
62+
{"matrix": [1, 1], "x": 1.25, "y": 1},
63+
{"matrix": [1, 2], "x": 2.25, "y": 1},
64+
{"matrix": [1, 3], "x": 3.25, "y": 1},
65+
{"matrix": [1, 4], "x": 4.25, "y": 1},
66+
{"matrix": [1, 5], "x": 5.25, "y": 1},
67+
{"matrix": [1, 6], "x": 6.25, "y": 1},
68+
{"matrix": [1, 7], "x": 7.25, "y": 1},
69+
{"matrix": [1, 8], "x": 8.25, "y": 1},
70+
{"matrix": [1, 9], "x": 9.25, "y": 1},
71+
{"matrix": [1, 10], "x": 10.25, "y": 1},
72+
{"matrix": [1, 11], "x": 11.25, "y": 1, "w": 1.5},
73+
{"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75},
74+
{"matrix": [2, 1], "x": 1.75, "y": 2},
75+
{"matrix": [2, 2], "x": 2.75, "y": 2},
76+
{"matrix": [2, 3], "x": 3.75, "y": 2},
77+
{"matrix": [2, 4], "x": 4.75, "y": 2},
78+
{"matrix": [2, 5], "x": 5.75, "y": 2},
79+
{"matrix": [2, 6], "x": 6.75, "y": 2},
80+
{"matrix": [2, 7], "x": 7.75, "y": 2},
81+
{"matrix": [2, 8], "x": 8.75, "y": 2},
82+
{"matrix": [2, 9], "x": 9.75, "y": 2},
83+
{"matrix": [2, 10], "x": 10.75, "y": 2},
84+
{"matrix": [2, 11], "x": 11.75, "y": 2},
85+
{"matrix": [3, 0], "x": 0, "y": 3, "w": 1.25},
86+
{"matrix": [3, 1], "x": 1.25, "y": 3, "w": 1.5},
87+
{"matrix": [3, 2], "x": 2.75, "y": 3, "w": 1.25},
88+
{"matrix": [3, 3], "x": 4, "y": 3, "w": 2.25},
89+
{"matrix": [3, 7], "x": 6.25, "y": 3, "w": 2},
90+
{"matrix": [3, 8], "x": 8.25, "y": 3, "w": 1.25},
91+
{"matrix": [3, 9], "x": 9.5, "y": 3, "w": 1.5},
92+
{"matrix": [3, 10], "x": 11, "y": 3},
93+
{"matrix": [3, 11], "x": 12, "y": 3, "w": 0.75}
94+
]
95+
},
96+
"LAYOUT_arrow": {
97+
"layout": [
98+
{"matrix": [0, 0], "x": 0, "y": 0},
99+
{"matrix": [0, 1], "x": 1, "y": 0},
100+
{"matrix": [0, 2], "x": 2, "y": 0},
101+
{"matrix": [0, 3], "x": 3, "y": 0},
102+
{"matrix": [0, 4], "x": 4, "y": 0},
103+
{"matrix": [0, 5], "x": 5, "y": 0},
104+
{"matrix": [0, 6], "x": 6, "y": 0},
105+
{"matrix": [0, 7], "x": 7, "y": 0},
106+
{"matrix": [0, 8], "x": 8, "y": 0},
107+
{"matrix": [0, 9], "x": 9, "y": 0},
108+
{"matrix": [0, 10], "x": 10, "y": 0},
109+
{"matrix": [0, 11], "x": 11, "y": 0, "w": 1.75},
110+
{"matrix": [1, 0], "x": 0, "y": 1, "w": 1.25},
111+
{"matrix": [1, 1], "x": 1.25, "y": 1},
112+
{"matrix": [1, 2], "x": 2.25, "y": 1},
113+
{"matrix": [1, 3], "x": 3.25, "y": 1},
114+
{"matrix": [1, 4], "x": 4.25, "y": 1},
115+
{"matrix": [1, 5], "x": 5.25, "y": 1},
116+
{"matrix": [1, 6], "x": 6.25, "y": 1},
117+
{"matrix": [1, 7], "x": 7.25, "y": 1},
118+
{"matrix": [1, 8], "x": 8.25, "y": 1},
119+
{"matrix": [1, 9], "x": 9.25, "y": 1},
120+
{"matrix": [1, 10], "x": 10.25, "y": 1},
121+
{"matrix": [1, 11], "x": 11.25, "y": 1, "w": 1.5},
122+
{"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75},
123+
{"matrix": [2, 1], "x": 1.75, "y": 2},
124+
{"matrix": [2, 2], "x": 2.75, "y": 2},
125+
{"matrix": [2, 3], "x": 3.75, "y": 2},
126+
{"matrix": [2, 4], "x": 4.75, "y": 2},
127+
{"matrix": [2, 5], "x": 5.75, "y": 2},
128+
{"matrix": [2, 6], "x": 6.75, "y": 2},
129+
{"matrix": [2, 7], "x": 7.75, "y": 2},
130+
{"matrix": [2, 8], "x": 8.75, "y": 2},
131+
{"matrix": [2, 9], "x": 9.75, "y": 2},
132+
{"matrix": [2, 10], "x": 10.75, "y": 2},
133+
{"matrix": [2, 11], "x": 11.75, "y": 2},
134+
{"matrix": [3, 0], "x": 0, "y": 3, "w": 1.25},
135+
{"matrix": [3, 1], "x": 1.25, "y": 3, "w": 1.5},
136+
{"matrix": [3, 2], "x": 2.75, "y": 3, "w": 1.25},
137+
{"matrix": [3, 3], "x": 4, "y": 3, "w": 2.25},
138+
{"matrix": [3, 7], "x": 6.25, "y": 3, "w": 2},
139+
{"matrix": [3, 8], "x": 8.25, "y": 3, "w": 1.5},
140+
{"matrix": [3, 9], "x": 9.75, "y": 3},
141+
{"matrix": [3, 10], "x": 10.75, "y": 3},
142+
{"matrix": [3, 11], "x": 11.75, "y": 3}
143+
]
144+
},
145+
"LAYOUT_command": {
146+
"layout": [
147+
{"matrix": [0, 0], "x": 0, "y": 0},
148+
{"matrix": [0, 1], "x": 1, "y": 0},
149+
{"matrix": [0, 2], "x": 2, "y": 0},
150+
{"matrix": [0, 3], "x": 3, "y": 0},
151+
{"matrix": [0, 4], "x": 4, "y": 0},
152+
{"matrix": [0, 5], "x": 5, "y": 0},
153+
{"matrix": [0, 6], "x": 6, "y": 0},
154+
{"matrix": [0, 7], "x": 7, "y": 0},
155+
{"matrix": [0, 8], "x": 8, "y": 0},
156+
{"matrix": [0, 9], "x": 9, "y": 0},
157+
{"matrix": [0, 10], "x": 10, "y": 0},
158+
{"matrix": [0, 11], "x": 11, "y": 0, "w": 1.75},
159+
{"matrix": [1, 0], "x": 0, "y": 1, "w": 1.25},
160+
{"matrix": [1, 1], "x": 1.25, "y": 1},
161+
{"matrix": [1, 2], "x": 2.25, "y": 1},
162+
{"matrix": [1, 3], "x": 3.25, "y": 1},
163+
{"matrix": [1, 4], "x": 4.25, "y": 1},
164+
{"matrix": [1, 5], "x": 5.25, "y": 1},
165+
{"matrix": [1, 6], "x": 6.25, "y": 1},
166+
{"matrix": [1, 7], "x": 7.25, "y": 1},
167+
{"matrix": [1, 8], "x": 8.25, "y": 1},
168+
{"matrix": [1, 9], "x": 9.25, "y": 1},
169+
{"matrix": [1, 10], "x": 10.25, "y": 1},
170+
{"matrix": [1, 11], "x": 11.25, "y": 1, "w": 1.5},
171+
{"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75},
172+
{"matrix": [2, 1], "x": 1.75, "y": 2},
173+
{"matrix": [2, 2], "x": 2.75, "y": 2},
174+
{"matrix": [2, 3], "x": 3.75, "y": 2},
175+
{"matrix": [2, 4], "x": 4.75, "y": 2},
176+
{"matrix": [2, 5], "x": 5.75, "y": 2},
177+
{"matrix": [2, 6], "x": 6.75, "y": 2},
178+
{"matrix": [2, 7], "x": 7.75, "y": 2},
179+
{"matrix": [2, 8], "x": 8.75, "y": 2},
180+
{"matrix": [2, 9], "x": 9.75, "y": 2},
181+
{"matrix": [2, 10], "x": 10.75, "y": 2},
182+
{"matrix": [2, 11], "x": 11.75, "y": 2},
183+
{"matrix": [3, 0], "x": 0, "y": 3},
184+
{"matrix": [3, 1], "x": 1, "y": 3},
185+
{"matrix": [3, 2], "x": 2, "y": 3},
186+
{"matrix": [3, 3], "x": 3, "y": 3},
187+
{"matrix": [3, 7], "x": 4, "y": 3, "w": 2.25},
188+
{"matrix": [3, 8], "x": 6.25, "y": 3, "w": 2},
189+
{"matrix": [3, 9], "x": 8.25, "y": 3, "w": 1.5},
190+
{"matrix": [3, 10], "x": 9.75, "y": 3, "w": 1.5},
191+
{"matrix": [3, 11], "x": 11.25, "y": 3, "w": 1.5}
192+
]
193+
},
194+
"LAYOUT_arrow_command": {
195+
"layout": [
196+
{"matrix": [0, 0], "x": 0, "y": 0},
197+
{"matrix": [0, 1], "x": 1, "y": 0},
198+
{"matrix": [0, 2], "x": 2, "y": 0},
199+
{"matrix": [0, 3], "x": 3, "y": 0},
200+
{"matrix": [0, 4], "x": 4, "y": 0},
201+
{"matrix": [0, 5], "x": 5, "y": 0},
202+
{"matrix": [0, 6], "x": 6, "y": 0},
203+
{"matrix": [0, 7], "x": 7, "y": 0},
204+
{"matrix": [0, 8], "x": 8, "y": 0},
205+
{"matrix": [0, 9], "x": 9, "y": 0},
206+
{"matrix": [0, 10], "x": 10, "y": 0},
207+
{"matrix": [0, 11], "x": 11, "y": 0, "w": 1.75},
208+
{"matrix": [1, 0], "x": 0, "y": 1, "w": 1.25},
209+
{"matrix": [1, 1], "x": 1.25, "y": 1},
210+
{"matrix": [1, 2], "x": 2.25, "y": 1},
211+
{"matrix": [1, 3], "x": 3.25, "y": 1},
212+
{"matrix": [1, 4], "x": 4.25, "y": 1},
213+
{"matrix": [1, 5], "x": 5.25, "y": 1},
214+
{"matrix": [1, 6], "x": 6.25, "y": 1},
215+
{"matrix": [1, 7], "x": 7.25, "y": 1},
216+
{"matrix": [1, 8], "x": 8.25, "y": 1},
217+
{"matrix": [1, 9], "x": 9.25, "y": 1},
218+
{"matrix": [1, 10], "x": 10.25, "y": 1},
219+
{"matrix": [1, 11], "x": 11.25, "y": 1, "w": 1.5},
220+
{"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75},
221+
{"matrix": [2, 1], "x": 1.75, "y": 2},
222+
{"matrix": [2, 2], "x": 2.75, "y": 2},
223+
{"matrix": [2, 3], "x": 3.75, "y": 2},
224+
{"matrix": [2, 4], "x": 4.75, "y": 2},
225+
{"matrix": [2, 5], "x": 5.75, "y": 2},
226+
{"matrix": [2, 6], "x": 6.75, "y": 2},
227+
{"matrix": [2, 7], "x": 7.75, "y": 2},
228+
{"matrix": [2, 8], "x": 8.75, "y": 2},
229+
{"matrix": [2, 9], "x": 9.75, "y": 2},
230+
{"matrix": [2, 10], "x": 10.75, "y": 2},
231+
{"matrix": [2, 11], "x": 11.75, "y": 2},
232+
{"matrix": [3, 0], "x": 0, "y": 3},
233+
{"matrix": [3, 1], "x": 1, "y": 3},
234+
{"matrix": [3, 2], "x": 2, "y": 3},
235+
{"matrix": [3, 3], "x": 3, "y": 3},
236+
{"matrix": [3, 7], "x": 4, "y": 3, "w": 2.25},
237+
{"matrix": [3, 8], "x": 6.25, "y": 3, "w": 2},
238+
{"matrix": [3, 9], "x": 8.25, "y": 3, "w": 1.5},
239+
{"matrix": [3, 10], "x": 9.75, "y": 3},
240+
{"matrix": [3, 11], "x": 10.75, "y": 3, "w": 2}
241+
]
242+
}
243+
}
244+
}

firmware/minisub/minisub.h

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,3 @@
11
#pragma once
22

33
#include "quantum.h"
4-
5-
#define LAYOUT( \
6-
K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, \
7-
K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, \
8-
K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, \
9-
K30, K31, K32, K33, K37, K38, K39, K3A, K3B \
10-
) \
11-
{ \
12-
{ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B }, \
13-
{ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B }, \
14-
{ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B }, \
15-
{ K30, K31, K32, K33, KC_NO, KC_NO, KC_NO, K37, K38, K39, K3A, K3B } \
16-
}

firmware/minisub/rules.mk

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)