makrosu.h 448 B

1234567891011121314151617181920
  1. #pragma once
  2. #include "quantum.h"
  3. /* This is a shortcut to help you visually see your layout.
  4. *
  5. * The first section contains all of the arguments representing the physical
  6. * layout of the board and position of the keys.
  7. *
  8. * The second converts the arguments into a two-dimensional array which
  9. * represents the switch matrix.
  10. */
  11. #define LAYOUT( \
  12. K02, K03, K04, \
  13. K00, K01, K05 \
  14. ) \
  15. { \
  16. { K00, K01, K02, K03, K04, K05 }, \
  17. }