cluecard.h 435 B

12345678910111213141516171819202122
  1. #ifndef CLUECARD_H
  2. #define CLUECARD_H
  3. #include "quantum.h"
  4. // This a shortcut to help you visually see your layout.
  5. // The first section contains all of the arguements
  6. // The second converts the arguments into a two-dimensional array
  7. #define KEYMAP( \
  8. k00, k01, k02, \
  9. k10, k12, \
  10. k20, k21, k22, \
  11. k11, \
  12. k30, k31, k32 \
  13. ) { \
  14. { k00, k01, k02, }, \
  15. { k10, k11, k12, }, \
  16. { k20, k21, k22, }, \
  17. { k30, k31, k32, } \
  18. }
  19. #endif