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.

27 lines
815 B

  1. // Copyright 2022 Tomek (@m40-dev)
  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_ortho_5x5( \
  14. K000, K001, K002, K003, K004, \
  15. K100, K101, K102, K103, K104, \
  16. K200, K201, K202, K203, K204, \
  17. K300, K301, K302, K303, K304, \
  18. K400, K401, K402, K403, K404 ) { \
  19. { K000, K001, K002, K003, K004 }, \
  20. { K100, K101, K102, K103, K104 }, \
  21. { K200, K201, K202, K203, K204 }, \
  22. { K300, K301, K302, K303, K304 }, \
  23. { K400, K401, K402, K403, K404 } \
  24. }