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.

38 lines
1.6 KiB

  1. /* Copyright 2021 Paul James
  2. *
  3. * This program is free software: you can redistribute it and/or modify
  4. * it under the terms of the GNU General Public License as published by
  5. * the Free Software Foundation, either version 2 of the License, or
  6. * (at your option) any later version.
  7. *
  8. * This program is distributed in the hope that it will be useful,
  9. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. * GNU General Public License for more details.
  12. *
  13. * You should have received a copy of the GNU General Public License
  14. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  15. */
  16. #pragma once
  17. #include "quantum.h"
  18. #define LAYOUT_ortho_7u( \
  19. l11, l12, l13, l14, l15, m11, m12, m13, m14, m15, r11, r12, r13, r14, r15, \
  20. l21, l22, l23, l24, l25, m21, m22, m23, m24, m25, r21, r22, r23, r24, r25, \
  21. l31, l32, l33, l34, l35, m31, m32, m33, m34, m35, r31, r32, r33, r34, r35, \
  22. l41, l42, l43, l44, l45, m41, m42, m43, m44, m45, r41, r42, r43, r44, r45, \
  23. l51, l52, l53, l54, m53, r52, r53, r54, r51 \
  24. ) \
  25. { \
  26. { r11, r12, r13, r14, r15, r25, r35, r45 }, \
  27. { r21, r22, r23, r24, r34, r44, r53, r54 }, \
  28. { r31, r32, r33, r43, r42, r41, r51, r52 }, \
  29. { l11, l12, l13, l14, l15, l25, l35, l45 }, \
  30. { l21, l22, l23, l24, l34, l44, l53, l54 }, \
  31. { l31, l32, l33, l43, l42, l41, l51, l52 }, \
  32. { m11, m12, m13, m14, m15, m25, m35, m45 }, \
  33. { m21, m22, m23, m24, m34, m44, m53, KC_NO }, \
  34. { m31, m32, m33, m43, m42, m41, KC_NO, KC_NO } \
  35. }