]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/thevankeyboards/minivan/minivan.h
[Keyboard] Fix Minivan K32 and K34 inversion (#6221)
[qmk_firmware.git] / keyboards / thevankeyboards / minivan / minivan.h
1 #ifndef MINIVAN_H
2 #define MINIVAN_H
3
4 #include "quantum.h"
5
6 // This a shortcut to help you visually see your layout.
7 // There are a number of variations depending on the layout of your bottom row.
8 // The arrow variant adds an additional key on the bottom-right, while the
9 // command variant adds an additional key on the bottom-left. arrow-command is a
10 // combination of both of those, having an additional key on both sides.
11 //
12 // Please note that the numbering of the macro arguments are based on the
13 // numbers of the keys on the PCB.
14
15 #define LAYOUT( \
16     K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, \
17     K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, \
18     K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, \
19     K30, K31, K32,           K33, K37,           K38, K39, K3B  \
20 ) \
21 { \
22     { K00,   K01,   K02,   K03,  K04,   K05,   K06,   K07,   K08,   K09,   K0A,   K0B }, \
23     { K10,   K11,   K12,   K13,  K14,   K15,   K16,   K17,   K18,   K19,   K1A,   K1B }, \
24     { K20,   K21,   K22,   K23,  K24,   K25,   K26,   K27,   K28,   K29,   K2A,   K2B }, \
25     { K30,   K31,   K32,   K33,  KC_NO, KC_NO, KC_NO, K37,   K38,   K39,   KC_NO, K3B }  \
26 }
27
28 #define LAYOUT_arrow( \
29     K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, \
30     K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, \
31     K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, \
32     K30, K31, K32,      K33, K37,      K38, K39, K3A, K3B  \
33 ) \
34 { \
35     { K00,   K01,   K02,   K03,  K04,   K05,   K06,   K07,   K08,   K09,   K0A,   K0B }, \
36     { K10,   K11,   K12,   K13,  K14,   K15,   K16,   K17,   K18,   K19,   K1A,   K1B }, \
37     { K20,   K21,   K22,   K23,  K24,   K25,   K26,   K27,   K28,   K29,   K2A,   K2B }, \
38     { K30,   K31,   K32,   K33,  KC_NO, KC_NO, KC_NO, K37,   K38,   K39,   K3A,   K3B }  \
39 }
40
41 #define LAYOUT_command( \
42     K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, \
43     K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, \
44     K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, \
45     K30, K31, K32, K34,      K33, K37,           K38, K39, K3B  \
46 ) \
47 { \
48     { K00,   K01,   K02,   K03,  K04,   K05,   K06,   K07,   K08,   K09,   K0A,   K0B }, \
49     { K10,   K11,   K12,   K13,  K14,   K15,   K16,   K17,   K18,   K19,   K1A,   K1B }, \
50     { K20,   K21,   K22,   K23,  K24,   K25,   K26,   K27,   K28,   K29,   K2A,   K2B }, \
51     { K30,   K31,   K32,   K33,  K34,   KC_NO, KC_NO, K37,   K38,   K39, KC_NO,   K3B }  \
52 }
53
54 #define LAYOUT_arrow_command( \
55     K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, \
56     K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, \
57     K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, \
58     K30, K31, K32, K34,      K33, K37,      K38, K39, K3A, K3B  \
59 ) \
60 { \
61     { K00,   K01,   K02,   K03,  K04,   K05,   K06,   K07,   K08,   K09,   K0A,   K0B }, \
62     { K10,   K11,   K12,   K13,  K14,   K15,   K16,   K17,   K18,   K19,   K1A,   K1B }, \
63     { K20,   K21,   K22,   K23,  K24,   K25,   K26,   K27,   K28,   K29,   K2A,   K2B }, \
64     { K30,   K31,   K32,   K33,  K34,   KC_NO, KC_NO, K37,   K38,   K39,   K3A,   K3B }  \
65 }
66
67 #endif