aboutsummaryrefslogtreecommitdiff
path: root/keyboards/rgbkb/zen/rev2/rev2.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/rgbkb/zen/rev2/rev2.h')
-rw-r--r--keyboards/rgbkb/zen/rev2/rev2.h56
1 files changed, 56 insertions, 0 deletions
diff --git a/keyboards/rgbkb/zen/rev2/rev2.h b/keyboards/rgbkb/zen/rev2/rev2.h
new file mode 100644
index 000000000..101622988
--- /dev/null
+++ b/keyboards/rgbkb/zen/rev2/rev2.h
@@ -0,0 +1,56 @@
1#pragma once
2
3#include "zen.h"
4
5//void promicro_bootloader_jmp(bool program);
6#include "quantum.h"
7
8
9#ifdef USE_I2C
10#include <stddef.h>
11#ifdef __AVR__
12 #include <avr/io.h>
13 #include <avr/interrupt.h>
14#endif
15#endif
16
17//void promicro_bootloader_jmp(bool program);
18
19#ifdef CONVERT_TO_PROTON_C
20 #define LAYOUT( \
21 k00, k01, k02, k03, k04, k05, k55, k54, k53, k52, k51, k50, \
22 k10, k11, k12, k13, k14, k15, k65, k64, k63, k62, k61, k60, \
23 k20, k21, k22, k23, k24, k25, k75, k74, k73, k72, k71, k70, \
24 k30, k31, k32, k33, k34, k35, k16, k66, k85, k84, k83, k82, k81, k80, \
25 k40, k41, k42, k43, k44, k36, k26, k76, k86, k94, k93, k92, k91, k90, \
26 k45, k46, k96, k95 \
27 ) \
28 { \
29 { k00, k01, k02, k03, k04, k05, KC_NO }, \
30 { k10, k11, k12, k13, k14, k15, k16 }, \
31 { k20, k21, k22, k23, k24, k25, k26 }, \
32 { k30, k31, k32, k33, k34, k35, k36 }, \
33 { k40, k41, k42, k43, k44, k45, k46 } \
34 }
35#else
36 #define LAYOUT( \
37 k00, k01, k02, k03, k04, k05, k55, k54, k53, k52, k51, k50, \
38 k10, k11, k12, k13, k14, k15, k65, k64, k63, k62, k61, k60, \
39 k20, k21, k22, k23, k24, k25, k75, k74, k73, k72, k71, k70, \
40 k30, k31, k32, k33, k34, k35, k16, k66, k85, k84, k83, k82, k81, k80, \
41 k40, k41, k42, k43, k44, k36, k26, k76, k86, k94, k93, k92, k91, k90, \
42 k45, k46, k96, k95 \
43 ) \
44 { \
45 { k00, k01, k02, k03, k04, k05, KC_NO }, \
46 { k10, k11, k12, k13, k14, k15, k16 }, \
47 { k20, k21, k22, k23, k24, k25, k26 }, \
48 { k30, k31, k32, k33, k34, k35, k36 }, \
49 { k40, k41, k42, k43, k44, k45, k46 }, \
50 { k50, k51, k52, k53, k54, k55, KC_NO }, \
51 { k60, k61, k62, k63, k64, k65, k66 }, \
52 { k70, k71, k72, k73, k74, k75, k76 }, \
53 { k80, k81, k82, k83, k84, k85, k86 }, \
54 { k90, k91, k92, k93, k94, k95, k96 } \
55 }
56#endif