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.

60 lines
2.0 KiB

  1. /*
  2. Copyright 2019 @foostan
  3. Copyright 2020 Drashna Jaelre <@drashna>
  4. This program is free software: you can redistribute it and/or modify
  5. it under the terms of the GNU General Public License as published by
  6. the Free Software Foundation, either version 2 of the License, or
  7. (at your option) any later version.
  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. You should have received a copy of the GNU General Public License
  13. along with this program. If not, see <http://www.gnu.org/licenses/>.
  14. */
  15. #pragma once
  16. #include "crkbd.h"
  17. #include "quantum.h"
  18. // clang-format off
  19. #define LAYOUT_split_3x6_3( \
  20. L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \
  21. L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, \
  22. L20, L21, L22, L23, L24, L25, R20, R21, R22, R23, R24, R25, \
  23. L30, L31, L32, R30, R31, R32 \
  24. ) \
  25. { \
  26. { L00, L01, L02, L03, L04, L05 }, \
  27. { L10, L11, L12, L13, L14, L15 }, \
  28. { L20, L21, L22, L23, L24, L25 }, \
  29. { KC_NO, KC_NO, KC_NO, L30, L31, L32 }, \
  30. { R05, R04, R03, R02, R01, R00 }, \
  31. { R15, R14, R13, R12, R11, R10 }, \
  32. { R25, R24, R23, R22, R21, R20 }, \
  33. { KC_NO, KC_NO, KC_NO, R32, R31, R30 } \
  34. }
  35. #define LAYOUT_split_3x5_3( \
  36. L00, L01, L02, L03, L04, R00, R01, R02, R03, R04, \
  37. L10, L11, L12, L13, L14, R10, R11, R12, R13, R14, \
  38. L20, L21, L22, L23, L24, R20, R21, R22, R23, R24, \
  39. L30, L31, L32, R30, R31, R32 \
  40. ) \
  41. { \
  42. { KC_NO, L00, L01, L02, L03, L04 }, \
  43. { KC_NO, L10, L11, L12, L13, L14 }, \
  44. { KC_NO, L20, L21, L22, L23, L24 }, \
  45. { KC_NO, KC_NO, KC_NO, L30, L31, L32 }, \
  46. { KC_NO, R04, R03, R02, R01, R00 }, \
  47. { KC_NO, R14, R13, R12, R11, R10 }, \
  48. { KC_NO, R24, R23, R22, R21, R20 }, \
  49. { KC_NO, KC_NO, KC_NO, R32, R31, R30 } \
  50. }
  51. #define LAYOUT LAYOUT_split_3x6_3