1dd6ceb4 |
1 | #ifndef MAXIPAD_H |
2 | #define MAXIPAD_H |
3 | |
4 | #include "quantum.h" |
5 | |
6 | // This a shortcut to help you visually see your layout. |
7 | // The following is an example using the Planck MIT layout |
8 | // The first section contains all of the arguements |
9 | // The second converts the arguments into a two-dimensional array |
10 | #define KEYMAP( \ |
01736a50 |
11 | k00, k01, k02, k03, k04, k05, \ |
12 | k10, k11, k12, k13, k14, k15, \ |
13 | k20, k21, k22, k23, k24, k25, \ |
14 | k30, k31, k32, k33, k34, k35, \ |
15 | k40, k41, k42, k43, k44, k45 \ |
1dd6ceb4 |
16 | ) \ |
17 | { \ |
18 | { k00, k01, k02, k03, k04, k05 }, \ |
19 | { k10, k11, k12, k13, k14, k15 }, \ |
20 | { k20, k21, k22, k23, k24, k25 }, \ |
21 | { k30, k31, k32, k33, k34, k35 }, \ |
01736a50 |
22 | { k40, k41, k42, k43, k44, k45 } \ |
1dd6ceb4 |
23 | } |
24 | |
25 | #endif |