rev6a.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /*
  2. Copyright 2021 Danny Nguyen <danny@keeb.io>
  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. This program is distributed in the hope that it will be useful,
  8. but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. GNU General Public License for more details.
  11. You should have received a copy of the GNU General Public License
  12. along with this program. If not, see <http://www.gnu.org/licenses/>.
  13. */
  14. #pragma once
  15. #include "iris.h"
  16. #include "quantum.h"
  17. #define LAYOUT( \
  18. LA1, LA2, LA3, LA4, LA5, LA6, RA6, RA5, RA4, RA3, RA2, RA1, \
  19. LB1, LB2, LB3, LB4, LB5, LB6, RB6, RB5, RB4, RB3, RB2, RB1, \
  20. LC1, LC2, LC3, LC4, LC5, LC6, RC6, RC5, RC4, RC3, RC2, RC1, \
  21. LD1, LD2, LD3, LD4, LD5, LD6, LE6, RE6, RD6, RD5, RD4, RD3, RD2, RD1, \
  22. LE3, LE4, LE5, RE5, RE4, RE3 \
  23. ) \
  24. { \
  25. { LA1, LA2, LA3, LA4, LA5, LA6 }, \
  26. { LB1, LB2, LB3, LB4, LB5, LB6 }, \
  27. { LC1, LC2, LC3, LC4, LC5, LC6 }, \
  28. { LD1, LD2, LD3, LD4, LD5, LD6 }, \
  29. { KC_NO, KC_NO, LE3, LE4, LE5, LE6 }, \
  30. { RA1, RA2, RA3, RA4, RA5, RA6 }, \
  31. { RB1, RB2, RB3, RB4, RB5, RB6 }, \
  32. { RC1, RC2, RC3, RC4, RC5, RC6 }, \
  33. { RD1, RD2, RD3, RD4, RD5, RD6 }, \
  34. { KC_NO, KC_NO, RE3, RE4, RE5, RE6 } \
  35. }