pluto12.h 616 B

123456789101112131415161718192021222324
  1. // Copyright 2021-22 Will McGloughlin (@wymcg)
  2. // SPDX-License-Identifier: GPL-2.0-or-later
  3. #pragma once
  4. #include "quantum.h"
  5. /* This is a shortcut to help you visually see your layout.
  6. *
  7. * The first section contains all of the arguments representing the physical
  8. * layout of the board and position of the keys.
  9. *
  10. * The second converts the arguments into a two-dimensional array which
  11. * represents the switch matrix.
  12. */
  13. #define LAYOUT( \
  14. K00, K01, K02, K03, \
  15. K10, K11, K12, K13, \
  16. K20, K21, K22, K23 \
  17. ) { \
  18. {K00, K01, K02, K03}, \
  19. {K10, K11, K12, K13}, \
  20. {K20, K21, K22, K23} \
  21. }