]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/maxipad/maxipad.h
613f7df22e3e947c6a8388eba55f8461a5b56e30
[qmk_firmware.git] / keyboards / maxipad / maxipad.h
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 LAYOUT( \
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 \
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 }, \
22     { k40, k41, k42, k43, k44, k45 } \
23 }
24
25 #endif