-
Notifications
You must be signed in to change notification settings - Fork 231
Expand file tree
/
Copy pathdevice.dtsi
More file actions
552 lines (513 loc) · 23.4 KB
/
device.dtsi
File metadata and controls
552 lines (513 loc) · 23.4 KB
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
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
//////////////////////////////////////////////////////////////////////////////
//
// Per-key RGB indicators for layers & mods -- requires PR36 beta firmware:
// override "EXPERIMENTAL_RGB_LAYER" to "y" in Advanced Configuration and
// select "community.pr36.per-key-rgb" from the drop-down menu located at
// Glove80 Layout Editor > Settings > Advanced Settings > Firmware Version
//
// - https://github.com/moergo-sc/zmk/pull/36
// - https://github.com/moergo-sc/zmk/pull/30
// - https://github.com/zmkfirmware/zmk/pull/2752
// - https://dev.glove80.com/#/layout/user/c42ac32d-dc0d-4160-9ee3-fd0fc15f1725
//
//////////////////////////////////////////////////////////////////////////////
#if __has_include(<dt-bindings/zmk/rgb_colors.h>)
//
// Color definitions with conflict guard to prevent
// accidental redefinition of common abbreviations.
//
#if defined(RED) || defined(RED_RGB) || \
defined(COR) || defined(COR_RGB) || \
defined(ORN) || defined(ORN_RGB) || \
defined(GDN) || defined(GDN_RGB) || \
defined(GOL) || defined(GOL_RGB) || \
defined(YLW) || defined(YLW_RGB) || \
defined(CHU) || defined(CHU_RGB) || \
defined(GRN) || defined(GRN_RGB) || \
defined(SPG) || defined(SPG_RGB) || \
defined(CYN) || defined(CYN_RGB) || \
defined(AZU) || defined(AZU_RGB) || \
defined(TEA) || defined(TEA_RGB) || \
defined(TUR) || defined(TUR_RGB) || \
defined(BLU) || defined(BLU_RGB) || \
defined(PUR) || defined(PUR_RGB) || \
defined(MAJ) || defined(MAJ_RGB) || \
defined(PNK) || defined(PNK_RGB) || \
defined(WHT) || defined(WHT_RGB) || \
defined(BLK) || defined(BLK_RGB) || \
defined(___) || \
defined(DUG) || defined(DUG_RGB) || \
defined(LAC) || defined(LAC_RGB) || \
defined(BSL) || defined(BNL) || defined(BCL) || \
defined(SSL) || defined(SNL) || defined(SCL) || \
defined(FST) || defined(WRP) || defined(SLO)
#error "Naming conflict: 3-letter color abbreviation already defined!"
#endif
//
// color definitions from QMK
// https://github.com/qmk/qmk_firmware/blob/master/quantum/color.h
//
#define RED_RGB 0xFF0000 // #FF0000 RED => RED (red)
#define COR_RGB 0xFF7C4D // #FF7C4D CORAL => COR (coral)
#define ORN_RGB 0xFF8000 // #FF8000 ORANGE => ORN (ornj)
#define GDN_RGB 0xD9A521 // #D9A521 GOLDNROD => GDN (gold'nrod)
#define GOL_RGB 0xFFD900 // #FFD900 GOLD => GOL (gold)
#define YLW_RGB 0xFFFF00 // #FFFF00 YELLOW => YLW (yellow)
#define CHU_RGB 0x80FF00 // #80FF00 CHARTRSE => CHU (chartreuse)
#define GRN_RGB 0x00FF00 // #00FF00 GREEN => GRN (green)
#define SPG_RGB 0x00FF80 // #00FF80 SPRINGRN => SPG (spring green)
#define CYN_RGB 0x00FFFF // #00FFFF CYAN => CYN (sigh-an)
#define AZU_RGB 0x99F5FF // #99F5FF AZURE => AZU (a-zur)
#define TEA_RGB 0x008080 // #008080 TEAL => TEA (teel)
#define TUR_RGB 0x476E6A // #476E6A TURQUOIS => TUR (turquoise)
#define BLU_RGB 0x0000FF // #0000FF BLUE => BLU (bloo)
#define PUR_RGB 0x7A00FF // #7A00FF PURPLE => PUR (purp)
#define MAJ_RGB 0xFF00FF // #FF00FF MAGENTA => MAJ (mah-jenta)
#define PNK_RGB 0xFF80BF // #FF80BF PINK => PNK (pink)
#define WHT_RGB 0xFFFFFF // #FFFFFF WHITE => WHT (white)
#define BLK_RGB 0x000000 // #000000 BLACK => BLK (blak)
//
// color definitions from MoErgo
// https://github.com/moergo-sc/zmk/blob/aca523dfce9b6447ffd19d833b791d44f1f286de/app/src/rgb_underglow.c#L259-L265
//
#define DUG_RGB 0x00ff68 // #00ff68 DULL_GRN => DUG (dull green)
#define LAC_RGB 0x6b1fce // #6b1fce LILAC => LAC (lilac)
//
// underglow for the colors above
//
#define RED &ug RED_RGB
#define COR &ug COR_RGB
#define ORN &ug ORN_RGB
#define GDN &ug GDN_RGB
#define GOL &ug GOL_RGB
#define YLW &ug YLW_RGB
#define CHU &ug CHU_RGB
#define GRN &ug GRN_RGB
#define SPG &ug SPG_RGB
#define CYN &ug CYN_RGB
#define AZU &ug AZU_RGB
#define TEA &ug TEA_RGB
#define TUR &ug TUR_RGB
#define BLU &ug BLU_RGB
#define PUR &ug PUR_RGB
#define MAJ &ug MAJ_RGB
#define PNK &ug PNK_RGB
#define WHT &ug WHT_RGB
#define BLK &ug BLK_RGB
#define ___ &ug BLK_RGB
#define DUG &ug DUG_RGB
#define LAC &ug LAC_RGB
//
// underglow for keyboard locks on the Base layer
//
#define BSL &ug_sl LAC_RGB WHT_RGB // ScrollLock COLOR_OFF COLOR_ON
#define BNL &ug_nl LAC_RGB WHT_RGB // NumLock COLOR_OFF COLOR_ON
#define BCL &ug_cl BLK_RGB WHT_RGB // CapsLock COLOR_OFF COLOR_ON
//
// underglow for keyboard locks on the System layer
//
#define SSL &ug_sl BLK_RGB WHT_RGB // ScrollLock COLOR_OFF COLOR_ON
#define SNL &ug_nl BLK_RGB WHT_RGB // NumLock COLOR_OFF COLOR_ON
#define SCL &ug_cl BLK_RGB WHT_RGB // CapsLock COLOR_OFF COLOR_ON
//
// colors for mouse speed scaling in Mouse layers
//
#define FST GOL
#define SLO PNK
#define WRP CHU
// ==== PER-KEY-RGB <section begins> ====
/ {
underglow-layer {
compatible = "zmk,underglow-layer";
/*
Template {
bindings = <
___ ___ ___ ___ ___ ___ ___ ___ ___ ___
___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___
___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___
___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___
___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___
___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___
>;
layer-id = <LAYER_Template>;
};
*/
BaseLayer {
bindings = <
___ ___ ___ ___ ___ ___ ___ ___ ___ ___
___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___
___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___
___ MAJ CYN GRN YLW ___ ___ YLW GRN CYN MAJ ___
YLW ___ ___ ___ ___ ___ LAC COR ___ ___ COR LAC ___ ___ ___ ___ ___ YLW
___ ___ ___ ___ LAC BSL BNL BCL ___ LAC LAC LAC ___ ___ ___ ___
>;
layer-id = <0>;
};
#ifdef LAYER_macOS
macOS {
bindings = <
___ ___ ___ ___ ___ ___ ___ ___ ___ ___
___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___
___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___
___ GRN CYN MAJ YLW ___ ___ YLW MAJ CYN GRN ___
YLW ___ ___ ___ ___ ___ LAC COR ___ ___ COR LAC ___ ___ ___ ___ ___ YLW
RED RED ___ ___ LAC BSL BNL BCL ___ LAC LAC LAC ___ ___ RED RED
>;
layer-id = <LAYER_macOS>;
};
#endif
#ifdef LAYER_LeftPinky
LeftPinky {
bindings = <
___ MAJ ___ ___ ___ ___ ___ ___ ___ ___
___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___
___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___
___ MAJ CYN GRN YLW ___ ___ YLW GRN CYN MAJ ___
YLW ___ ___ ___ ___ ___ LAC COR ___ ___ COR LAC ___ ___ ___ ___ ___ YLW
___ ___ ___ ___ LAC BSL BNL BCL ___ LAC LAC LAC ___ ___ ___ ___
>;
layer-id = <LAYER_LeftPinky>;
};
#endif
#ifdef LAYER_LeftRingy
LeftRingy {
bindings = <
___ ___ CYN ___ ___ ___ ___ ___ ___ ___
___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___
___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___
___ MAJ CYN GRN YLW ___ ___ YLW GRN CYN MAJ ___
YLW ___ ___ ___ ___ ___ LAC COR ___ ___ COR LAC ___ ___ ___ ___ ___ YLW
___ ___ ___ ___ LAC BSL BNL BCL ___ LAC LAC LAC ___ ___ ___ ___
>;
layer-id = <LAYER_LeftRingy>;
};
#endif
#ifdef LAYER_LeftMiddy
LeftMiddy {
bindings = <
___ ___ ___ GRN ___ ___ ___ ___ ___ ___
___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___
___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___
___ MAJ CYN GRN YLW ___ ___ YLW GRN CYN MAJ ___
YLW ___ ___ ___ ___ ___ LAC COR ___ ___ COR LAC ___ ___ ___ ___ ___ YLW
___ ___ ___ ___ LAC BSL BNL BCL ___ LAC LAC LAC ___ ___ ___ ___
>;
layer-id = <LAYER_LeftMiddy>;
};
#endif
#ifdef LAYER_LeftIndex
LeftIndex {
bindings = <
___ ___ ___ ___ YLW ___ ___ ___ ___ ___
___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___
___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___
___ MAJ CYN GRN YLW ___ ___ YLW GRN CYN MAJ ___
YLW ___ ___ ___ ___ ___ LAC COR ___ ___ COR LAC ___ ___ ___ ___ ___ YLW
___ ___ ___ ___ LAC BSL BNL BCL ___ LAC LAC LAC ___ ___ ___ ___
>;
layer-id = <LAYER_LeftIndex>;
};
#endif
#ifdef LAYER_RightIndex
RightIndex {
bindings = <
___ ___ ___ ___ ___ YLW ___ ___ ___ ___
___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___
___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___
___ MAJ CYN GRN YLW ___ ___ YLW GRN CYN MAJ ___
YLW ___ ___ ___ ___ ___ LAC COR ___ ___ COR LAC ___ ___ ___ ___ ___ YLW
___ ___ ___ ___ LAC BSL BNL BCL ___ LAC LAC LAC ___ ___ ___ ___
>;
layer-id = <LAYER_RightIndex>;
};
#endif
#ifdef LAYER_RightMiddy
RightMiddy {
bindings = <
___ ___ ___ ___ ___ ___ GRN ___ ___ ___
___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___
___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___
___ MAJ CYN GRN YLW ___ ___ YLW GRN CYN MAJ ___
YLW ___ ___ ___ ___ ___ LAC COR ___ ___ COR LAC ___ ___ ___ ___ ___ YLW
___ ___ ___ ___ LAC BSL BNL BCL ___ LAC LAC LAC ___ ___ ___ ___
>;
layer-id = <LAYER_RightMiddy>;
};
#endif
#ifdef LAYER_RightRingy
RightRingy {
bindings = <
___ ___ ___ ___ ___ ___ ___ CYN ___ ___
___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___
___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___
___ MAJ CYN GRN YLW ___ ___ YLW GRN CYN MAJ ___
YLW ___ ___ ___ ___ ___ LAC COR ___ ___ COR LAC ___ ___ ___ ___ ___ YLW
___ ___ ___ ___ LAC BSL BNL BCL ___ LAC LAC LAC ___ ___ ___ ___
>;
layer-id = <LAYER_RightRingy>;
};
#endif
#ifdef LAYER_RightPinky
RightPinky {
bindings = <
___ ___ ___ ___ ___ ___ ___ ___ MAJ ___
___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___
___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___
___ MAJ CYN GRN YLW ___ ___ YLW GRN CYN MAJ ___
YLW ___ ___ ___ ___ ___ LAC COR ___ ___ COR LAC ___ ___ ___ ___ ___ YLW
___ ___ ___ ___ LAC BSL BNL BCL ___ LAC LAC LAC ___ ___ ___ ___
>;
layer-id = <LAYER_RightPinky>;
};
#endif
#ifdef LAYER_Cursor
Cursor {
bindings = <
___ ___ ___ ___ ___ ___ ___ ___ ___ ___
___ COR COR COR COR ___ ___ ___ ___ ___ ___ ___
___ COR COR COR COR GDN GDN COR PUR PUR COR ___
YLW MAJ CYN GRN YLW GDN GDN AZU AZU AZU AZU YLW
PNK SPG SPG SPG PUR GDN COR COR ___ SPG SPG SPG GDN AZU AZU AZU AZU PNK
PNK PUR PUR PUR PUR RED ___ ___ SPG SPG SPG PUR PUR PUR PUR PNK
>;
layer-id = <LAYER_Cursor>;
};
#endif
#ifdef LAYER_Number
Number {
bindings = <
___ ___ ___ ___ ___ GDN GDN GDN GDN GDN
___ COR COR COR COR ___ TEA SPG SPG SPG SPG SPG
___ COR COR COR COR GOL TEA GOL GOL GOL SPG SPG
YLW MAJ CYN GRN YLW TEA TEA GOL GOL GOL SPG SPG
GDN SPG SPG SPG PUR GDN ___ ___ ___ SPG SPG SPG TEA GOL GOL GOL SPG SPG
TEA PUR PUR PUR PUR ___ RED ___ SPG SPG GOL SPG SPG SPG SPG SPG
>;
layer-id = <LAYER_Number>;
};
#endif
#ifdef LAYER_Function
Function {
bindings = <
___ ___ ___ ___ ___ ___ ___ ___ ___ ___
___ COR COR COR COR ___ AZU AZU AZU AZU AZU AZU
___ COR COR COR COR GDN GDN PNK PNK PNK PNK PNK
YLW MAJ CYN GRN YLW GDN GDN PNK PNK PNK PNK PNK
___ SPG SPG SPG PUR GDN RED ___ ___ AZU BLU BLU GDN PNK PNK PNK PNK PNK
___ PUR PUR PUR PUR ___ ___ ___ AZU AZU AZU CHU CHU CHU CHU CHU
>;
layer-id = <LAYER_Function>;
};
#endif
#ifdef LAYER_Emoji
Emoji {
bindings = <
___ ___ ___ ___ ___ CYN ___ ___ CYN ___
___ ___ ___ ___ ___ ___ ___ CYN ___ ___ CYN ___
___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___
___ GDN PNK SPG AZU ___ CYN ___ ___ ___ ___ CYN
___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ CYN ___ ___ CYN ___
___ ___ ___ ___ RED YLW ___ ___ ___ ___ ___ ___ CYN CYN ___ ___
>;
layer-id = <LAYER_Emoji>;
};
#endif
#ifdef LAYER_Symbol
Symbol {
bindings = <
___ ___ ___ ___ ___ ___ ___ ___ ___ ___
COR PNK AZU AZU CHU CHU ___ ___ ___ ___ ___ ___
PUR AZU AZU AZU AZU GDN CHU COR COR COR COR ___
GDN GDN SPG BLU GDN GDN CHU COR COR COR COR ___
PUR SPG SPG SPG SPG GDN PUR CHU GDN ___ ___ ___ CHU PNK PNK PNK PUR YLW
COR BLU PNK PNK BLU GDN GDN GDN ___ ___ RED YLW GRN CYN MAJ ___
>;
layer-id = <LAYER_Symbol>;
};
#endif
#ifdef LAYER_Mouse
Mouse {
bindings = <
___ ___ ___ ___ ___ ___ ___ ___ ___ ___
___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___
___ ___ SPG AZU SPG ___ GDN GDN GDN GDN GDN ___
___ SPG AZU AZU AZU SPG SPG FST WRP SLO PUR SPG
___ SPG SLO WRP FST SPG GDN PUR GDN BLU BLU BLU SPG AZU AZU AZU AZU SPG
___ ___ BLU BLU BLU GDN GDN GDN ___ RED ___ YLW GRN CYN MAJ ___
>;
layer-id = <LAYER_Mouse>;
};
#endif
#ifdef LAYER_Mouse_fast
Mouse_fast {
bindings = <
___ ___ ___ ___ ___ ___ ___ ___ ___ ___
___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___
___ ___ SPG FST SPG ___ GDN GDN GDN GDN GDN ___
___ SPG FST FST FST SPG SPG FST WRP SLO PUR GDN
___ SPG FST FST FST SPG GDN PUR GDN BLU BLU BLU SPG FST FST FST FST GDN
___ ___ BLU BLU BLU GDN GDN GDN ___ RED ___ YLW GRN CYN MAJ ___
>;
layer-id = <LAYER_Mouse_fast>;
};
#endif
#ifdef LAYER_Mouse_warp
Mouse_warp {
bindings = <
___ ___ ___ ___ ___ ___ ___ ___ ___ ___
___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___
___ ___ SPG WRP SPG ___ GDN GDN GDN GDN GDN ___
___ SPG WRP WRP WRP SPG SPG FST WRP SLO PUR GDN
___ SPG WRP WRP WRP SPG GDN PUR GDN BLU BLU BLU SPG WRP WRP WRP WRP GDN
___ ___ BLU BLU BLU GDN GDN GDN ___ RED ___ YLW GRN CYN MAJ ___
>;
layer-id = <LAYER_Mouse_warp>;
};
#endif
#ifdef LAYER_Mouse_slow
Mouse_slow {
bindings = <
___ ___ ___ ___ ___ ___ ___ ___ ___ ___
___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___
___ ___ SPG SLO SPG ___ GDN GDN GDN GDN GDN ___
___ SPG SLO SLO SLO SPG SPG FST WRP SLO PUR GDN
___ SPG SLO SLO SLO SPG GDN PUR GDN BLU BLU BLU SPG SLO SLO SLO SLO GDN
___ ___ BLU BLU BLU GDN GDN GDN ___ RED ___ YLW GRN CYN MAJ PUR
>;
layer-id = <LAYER_Mouse_slow>;
};
#endif
#ifdef LAYER_System
System {
bindings = <
___ ___ ___ ___ ___ ___ ___ ___ ___ ___
___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___
___ PNK AZU SPG GDN COR COR GDN SPG AZU PNK ___
___ PNK AZU SPG GDN COR COR GDN SPG AZU PNK ___
___ ___ BLU BLU BLU COR PUR PUR PUR ___ ORN RED COR SSL SNL SCL PUR PUR
___ ___ ___ ___ ORN SSL SNL SCL BLU BLU BLU YLW GRN CYN MAJ PUR
>;
layer-id = <LAYER_System>;
};
#endif
#ifdef LAYER_World
World {
bindings = <
___ ___ ___ ___ ___ ___ ___ ___ ___ ___
___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___
___ SPG AZU AZU AZU ___ ___ ___ CYN CYN ___ ___
AZU AZU AZU AZU AZU ___ ___ YLW GRN GRN YLW ___
AZU AZU SPG SPG AZU ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___
SPG SPG SPG SPG SPG ___ ___ ___ ___ ___ ___ RED ___ ___ ___ ___
>;
layer-id = <LAYER_World>;
};
#endif
#ifdef LAYER_Typing
Typing {
bindings = <
___ ___ ___ ___ ___ ___ ___ ___ ___ ___
___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___
___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___
___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___
___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ RED ___ ___ ___ ___ ___
___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ RED ___ ___ ___ ___
>;
layer-id = <LAYER_Typing>;
};
#endif
#ifdef LAYER_Gaming
Gaming {
bindings = <
ORN ___ ___ ___ COR TEA TEA TEA TEA TEA
___ GDN GDN GDN GDN GDN TEA TEA TEA TEA TEA TEA
___ GDN GDN GDN GDN GDN ___ ___ ___ ___ ___ TEA
___ COR ___ AZU ___ ___ ___ ___ ___ ___ ___ ___
___ YLW AZU AZU AZU RED YLW CYN ___ ORN AZU COR ___ ___ ___ ___ ___ ___
___ GRN ___ ___ RED COR GRN COR AZU AZU AZU ___ ___ ___ ___ ___
>;
layer-id = <LAYER_Gaming>;
};
#endif
#ifdef LAYER_Lower
Lower {
bindings = <
___ ___ ___ ___ ___ ___ ___ ___ ___ ___
___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___
___ GOL GOL GOL GOL GOL GOL GOL GOL GOL GOL ___
___ MAJ CYN GRN YLW SPG SPG YLW GRN CYN MAJ ___
___ SPG SPG SPG SPG SPG RED ___ BLU BLU ___ RED SPG PNK PNK SPG PNK ___
___ ___ ___ ___ RED RED RED COR COR RED RED RED ___ ___ ___ ___
>;
layer-id = <LAYER_Lower>;
};
#endif
#ifdef LAYER_Factory
Factory {
bindings = <
___ ___ ___ ___ ___ ___ ___ ___ ___ ___
___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___
___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___
___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___
___ ___ ___ ___ ___ ___ ___ ___ RED ___ ___ ___ ___ ___ ___ ___ ___ ___
RED ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___
>;
layer-id = <LAYER_Factory>;
};
#endif
};
};
// ==== PER-KEY-RGB <section ends> =====
#undef RED
#undef RED_RGB
#undef COR
#undef COR_RGB
#undef ORN
#undef ORN_RGB
#undef GDN
#undef GDN_RGB
#undef GOL
#undef GOL_RGB
#undef YLW
#undef YLW_RGB
#undef CHU
#undef CHU_RGB
#undef GRN
#undef GRN_RGB
#undef SPG
#undef SPG_RGB
#undef CYN
#undef CYN_RGB
#undef AZU
#undef AZU_RGB
#undef TEA
#undef TEA_RGB
#undef TUR
#undef TUR_RGB
#undef BLU
#undef BLU_RGB
#undef PUR
#undef PUR_RGB
#undef MAJ
#undef MAJ_RGB
#undef PNK
#undef PNK_RGB
#undef WHT
#undef WHT_RGB
#undef BLK
#undef BLK_RGB
#undef ___
#undef DUG
#undef DUG_RGB
#undef LAC
#undef LAC_RGB
#undef BSL
#undef BNL
#undef BCL
#undef SSL
#undef SNL
#undef SCL
#undef FST
#undef WRP
#undef SLO
#endif