You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
707 B

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