aboutsummaryrefslogtreecommitdiff
path: root/keyboards/maxr1998
diff options
context:
space:
mode:
authorMax Rumpf <max.rumpf1998@gmail.com>2022-02-12 08:01:25 +0100
committerGitHub <noreply@github.com>2022-02-11 23:01:25 -0800
commit773205cd1f9760ec9c68764ae9d9ba42d26c3016 (patch)
tree4a5fafa0c3ff623e09cea9841a3ba059d159db1d /keyboards/maxr1998
parent19c57a2a6a7aa73dca7e06acdfe93508288ddfb0 (diff)
downloadqmk_firmware-773205cd1f9760ec9c68764ae9d9ba42d26c3016.tar.gz
qmk_firmware-773205cd1f9760ec9c68764ae9d9ba42d26c3016.zip
[Keyboard] Convert Maxr1998/Phoebe to use info.json where possible (#16309)
Diffstat (limited to 'keyboards/maxr1998')
-rw-r--r--keyboards/maxr1998/phoebe/config.h42
-rw-r--r--keyboards/maxr1998/phoebe/info.json414
-rw-r--r--keyboards/maxr1998/phoebe/rules.mk20
3 files changed, 348 insertions, 128 deletions
diff --git a/keyboards/maxr1998/phoebe/config.h b/keyboards/maxr1998/phoebe/config.h
index b52221dc0..cce72108c 100644
--- a/keyboards/maxr1998/phoebe/config.h
+++ b/keyboards/maxr1998/phoebe/config.h
@@ -23,57 +23,15 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
23#define VENDOR_ID 0xFEED 23#define VENDOR_ID 0xFEED
24#define PRODUCT_ID 0x6060 24#define PRODUCT_ID 0x6060
25#define DEVICE_VER 0x0001 25#define DEVICE_VER 0x0001
26#define MANUFACTURER Maxr1998
27#define PRODUCT Phoebe 26#define PRODUCT Phoebe
28 27
29/* key matrix size */
30#define MATRIX_ROWS 5
31#define MATRIX_COLS 12
32
33/* Planck PCB default pin-out */
34#define MATRIX_ROW_PINS { B7, B3, B2, B1, D6 }
35#define MATRIX_COL_PINS { D7, B4, B5, B6, C6, C7, B0, F1, F4, F5, F6, F7 }
36#define UNUSED_PINS
37
38/* COL2ROW or ROW2COL */
39#define DIODE_DIRECTION COL2ROW
40
41/* Set 0 if debouncing isn't needed */
42#define DEBOUNCE 5
43
44/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ 28/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
45#define LOCKING_SUPPORT_ENABLE 29#define LOCKING_SUPPORT_ENABLE
46/* Locking resynchronize hack */ 30/* Locking resynchronize hack */
47#define LOCKING_RESYNC_ENABLE 31#define LOCKING_RESYNC_ENABLE
48 32
49/* RGB LED Setup */
50#define RGB_DI_PIN F0 // pin the DI on the WS2812B is hooked-up to
51#define RGBLED_NUM 8 // number of LEDs
52
53/* Selectively enable animation effects */ 33/* Selectively enable animation effects */
54#define RGBLIGHT_EFFECT_RAINBOW_SWIRL 34#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
55#define RGBLIGHT_EFFECT_SNAKE 35#define RGBLIGHT_EFFECT_SNAKE
56#define RGBLIGHT_EFFECT_CHRISTMAS 36#define RGBLIGHT_EFFECT_CHRISTMAS
57#define RGBLIGHT_EFFECT_CHRISTMAS_STEP 1 37#define RGBLIGHT_EFFECT_CHRISTMAS_STEP 1
58
59/* Leader key setup */
60#define LEADER_PER_KEY_TIMING
61#define LEADER_TIMEOUT 250
62
63/*
64 * Feature disable options
65 * These options are also useful to firmware size reduction.
66 */
67
68/* disable debug print */
69//#define NO_DEBUG
70
71/* disable print */
72//#define NO_PRINT
73
74/* disable action features */
75//#define NO_ACTION_LAYER
76//#define NO_ACTION_TAPPING
77//#define NO_ACTION_ONESHOT
78//#define NO_ACTION_MACRO
79//#define NO_ACTION_FUNCTION
diff --git a/keyboards/maxr1998/phoebe/info.json b/keyboards/maxr1998/phoebe/info.json
index 589268424..1b22277d8 100644
--- a/keyboards/maxr1998/phoebe/info.json
+++ b/keyboards/maxr1998/phoebe/info.json
@@ -1,69 +1,351 @@
1{ 1{
2 "keyboard_name": "Phoebe", 2 "keyboard_name": "Phoebe",
3 "url": "https://github.com/Maxr1998/Phoebe_Keyboard", 3 "maintainer": "Maxr1998",
4 "maintainer": "Maxr1998", 4 "manufacturer": "Maxr1998",
5 "layouts": { 5 "url": "https://github.com/Maxr1998/Phoebe_Keyboard",
6 "LAYOUT": { 6 "processor": "atmega32u4",
7 "layout": [ 7 "bootloader": "atmel-dfu",
8 { "w": 1, "x": 0, "y": 0 }, 8 "bootloader_instructions": "Tap reset button on the back.",
9 { "w": 1, "x": 1, "y": 0 }, 9 "diode_direction": "COL2ROW",
10 { "w": 1, "x": 2, "y": 0 }, 10 "debounce": 5,
11 { "w": 1, "x": 3, "y": 0 }, 11 "features": {
12 { "w": 1, "x": 4, "y": 0 }, 12 "bootmagic": true,
13 { "w": 1, "x": 5, "y": 0 }, 13 "nkro": true,
14 { "w": 1, "x": 6, "y": 0 }, 14 "backlight": false,
15 { "w": 1, "x": 7, "y": 0 }, 15 "rgblight": true,
16 { "w": 1, "x": 8, "y": 0 }, 16 "key_lock": true,
17 { "w": 1, "x": 9, "y": 0 }, 17 "leader": true
18 { "w": 1, "x": 10, "y": 0 }, 18 },
19 { "w": 1, "x": 11, "y": 0 }, 19 "layouts": {
20 { "w": 1, "x": 0, "y": 1 }, 20 "LAYOUT": {
21 { "w": 1, "x": 1, "y": 1 }, 21 "layout": [
22 { "w": 1, "x": 2, "y": 1 }, 22 {
23 { "w": 1, "x": 3, "y": 1 }, 23 "w": 1,
24 { "w": 1, "x": 4, "y": 1 }, 24 "x": 0,
25 { "w": 1, "x": 5, "y": 1 }, 25 "y": 0
26 { "w": 1, "x": 6, "y": 1 }, 26 },
27 { "w": 1, "x": 7, "y": 1 }, 27 {
28 { "w": 1, "x": 8, "y": 1 }, 28 "w": 1,
29 { "w": 1, "x": 9, "y": 1 }, 29 "x": 1,
30 { "w": 1, "x": 10, "y": 1 }, 30 "y": 0
31 { "w": 1, "x": 11, "y": 1 }, 31 },
32 { "w": 1, "x": 0, "y": 2 }, 32 {
33 { "w": 1, "x": 1, "y": 2 }, 33 "w": 1,
34 { "w": 1, "x": 2, "y": 2 }, 34 "x": 2,
35 { "w": 1, "x": 3, "y": 2 }, 35 "y": 0
36 { "w": 1, "x": 4, "y": 2 }, 36 },
37 { "w": 1, "x": 5, "y": 2 }, 37 {
38 { "w": 1, "x": 6, "y": 2 }, 38 "w": 1,
39 { "w": 1, "x": 7, "y": 2 }, 39 "x": 3,
40 { "w": 1, "x": 8, "y": 2 }, 40 "y": 0
41 { "w": 1, "x": 9, "y": 2 }, 41 },
42 { "w": 1, "x": 10, "y": 2 }, 42 {
43 { "w": 1, "x": 11, "y": 2 }, 43 "w": 1,
44 { "w": 1, "x": 0, "y": 3 }, 44 "x": 4,
45 { "w": 1, "x": 1, "y": 3 }, 45 "y": 0
46 { "w": 1, "x": 2, "y": 3 }, 46 },
47 { "w": 1, "x": 3, "y": 3 }, 47 {
48 { "w": 1, "x": 4, "y": 3 }, 48 "w": 1,
49 { "w": 1, "x": 5, "y": 3 }, 49 "x": 5,
50 { "w": 1, "x": 6, "y": 3 }, 50 "y": 0
51 { "w": 1, "x": 7, "y": 3 }, 51 },
52 { "w": 1, "x": 8, "y": 3 }, 52 {
53 { "w": 1, "x": 9, "y": 3 }, 53 "w": 1,
54 { "w": 1, "x": 10, "y": 3 }, 54 "x": 6,
55 { "w": 1, "x": 11, "y": 3 }, 55 "y": 0
56 { "w": 1, "x": 0, "y": 4 }, 56 },
57 { "w": 1, "x": 1, "y": 4 }, 57 {
58 { "w": 1, "x": 2, "y": 4 }, 58 "w": 1,
59 { "w": 1, "x": 3, "y": 4 }, 59 "x": 7,
60 { "w": 1, "x": 4, "y": 4 }, 60 "y": 0
61 { "w": 2, "x": 5, "y": 4 }, 61 },
62 { "w": 1, "x": 7, "y": 4 }, 62 {
63 { "w": 1, "x": 8, "y": 4 }, 63 "w": 1,
64 { "w": 1, "x": 9, "y": 4 }, 64 "x": 8,
65 { "w": 1, "x": 10, "y": 4 }, 65 "y": 0
66 { "w": 1, "x": 11, "y": 4 } ] 66 },
67 {
68 "w": 1,
69 "x": 9,
70 "y": 0
71 },
72 {
73 "w": 1,
74 "x": 10,
75 "y": 0
76 },
77 {
78 "w": 1,
79 "x": 11,
80 "y": 0
81 },
82 {
83 "w": 1,
84 "x": 0,
85 "y": 1
86 },
87 {
88 "w": 1,
89 "x": 1,
90 "y": 1
91 },
92 {
93 "w": 1,
94 "x": 2,
95 "y": 1
96 },
97 {
98 "w": 1,
99 "x": 3,
100 "y": 1
101 },
102 {
103 "w": 1,
104 "x": 4,
105 "y": 1
106 },
107 {
108 "w": 1,
109 "x": 5,
110 "y": 1
111 },
112 {
113 "w": 1,
114 "x": 6,
115 "y": 1
116 },
117 {
118 "w": 1,
119 "x": 7,
120 "y": 1
121 },
122 {
123 "w": 1,
124 "x": 8,
125 "y": 1
126 },
127 {
128 "w": 1,
129 "x": 9,
130 "y": 1
131 },
132 {
133 "w": 1,
134 "x": 10,
135 "y": 1
136 },
137 {
138 "w": 1,
139 "x": 11,
140 "y": 1
141 },
142 {
143 "w": 1,
144 "x": 0,
145 "y": 2
146 },
147 {
148 "w": 1,
149 "x": 1,
150 "y": 2
151 },
152 {
153 "w": 1,
154 "x": 2,
155 "y": 2
156 },
157 {
158 "w": 1,
159 "x": 3,
160 "y": 2
161 },
162 {
163 "w": 1,
164 "x": 4,
165 "y": 2
166 },
167 {
168 "w": 1,
169 "x": 5,
170 "y": 2
171 },
172 {
173 "w": 1,
174 "x": 6,
175 "y": 2
176 },
177 {
178 "w": 1,
179 "x": 7,
180 "y": 2
181 },
182 {
183 "w": 1,
184 "x": 8,
185 "y": 2
186 },
187 {
188 "w": 1,
189 "x": 9,
190 "y": 2
191 },
192 {
193 "w": 1,
194 "x": 10,
195 "y": 2
196 },
197 {
198 "w": 1,
199 "x": 11,
200 "y": 2
201 },
202 {
203 "w": 1,
204 "x": 0,
205 "y": 3
206 },
207 {
208 "w": 1,
209 "x": 1,
210 "y": 3
211 },
212 {
213 "w": 1,
214 "x": 2,
215 "y": 3
216 },
217 {
218 "w": 1,
219 "x": 3,
220 "y": 3
221 },
222 {
223 "w": 1,
224 "x": 4,
225 "y": 3
226 },
227 {
228 "w": 1,
229 "x": 5,
230 "y": 3
231 },
232 {
233 "w": 1,
234 "x": 6,
235 "y": 3
236 },
237 {
238 "w": 1,
239 "x": 7,
240 "y": 3
241 },
242 {
243 "w": 1,
244 "x": 8,
245 "y": 3
246 },
247 {
248 "w": 1,
249 "x": 9,
250 "y": 3
251 },
252 {
253 "w": 1,
254 "x": 10,
255 "y": 3
256 },
257 {
258 "w": 1,
259 "x": 11,
260 "y": 3
261 },
262 {
263 "w": 1,
264 "x": 0,
265 "y": 4
266 },
267 {
268 "w": 1,
269 "x": 1,
270 "y": 4
271 },
272 {
273 "w": 1,
274 "x": 2,
275 "y": 4
276 },
277 {
278 "w": 1,
279 "x": 3,
280 "y": 4
281 },
282 {
283 "w": 1,
284 "x": 4,
285 "y": 4
286 },
287 {
288 "w": 2,
289 "x": 5,
290 "y": 4
291 },
292 {
293 "w": 1,
294 "x": 7,
295 "y": 4
296 },
297 {
298 "w": 1,
299 "x": 8,
300 "y": 4
301 },
302 {
303 "w": 1,
304 "x": 9,
305 "y": 4
306 },
307 {
308 "w": 1,
309 "x": 10,
310 "y": 4
311 },
312 {
313 "w": 1,
314 "x": 11,
315 "y": 4
316 }
317 ]
318 }
319 },
320 "leader_key": {
321 "timing": true,
322 "timeout": 250
323 },
324 "matrix_pins": {
325 "cols": [
326 "D7",
327 "B4",
328 "B5",
329 "B6",
330 "C6",
331 "C7",
332 "B0",
333 "F1",
334 "F4",
335 "F5",
336 "F6",
337 "F7"
338 ],
339 "rows": [
340 "B7",
341 "B3",
342 "B2",
343 "B1",
344 "D6"
345 ]
346 },
347 "rgblight": {
348 "led_count": 8,
349 "pin": "F0"
67 } 350 }
68 }
69} 351}
diff --git a/keyboards/maxr1998/phoebe/rules.mk b/keyboards/maxr1998/phoebe/rules.mk
index 75dbae843..e69de29bb 100644
--- a/keyboards/maxr1998/phoebe/rules.mk
+++ b/keyboards/maxr1998/phoebe/rules.mk
@@ -1,20 +0,0 @@
1# MCU name
2MCU = atmega32u4
3
4# Bootloader selection
5BOOTLOADER = atmel-dfu
6
7# Build Options
8# change yes to no to disable
9#
10BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
11MOUSEKEY_ENABLE = no # Mouse keys
12EXTRAKEY_ENABLE = no # Audio control and System control
13CONSOLE_ENABLE = yes # Console for debug
14COMMAND_ENABLE = no # Commands for debug and configuration
15NKRO_ENABLE = yes # Enable N-Key Rollover
16BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
17AUDIO_ENABLE = no # Audio output
18RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight.
19KEY_LOCK_ENABLE = yes
20LEADER_ENABLE = yes # Enable leader key