card.h 468 B

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