soap.h 1.1 KB

1234567891011121314151617181920212223242526272829303132
  1. /* Copyright 2019 Garret G. (TheRoyalSweatshirt)
  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. * Note: Matrix is a little wacky with the rotary encoder click mapping being
  17. * on the opposite side of the board. Remember to pay attention to
  18. * the 13th column where the lone key mapped for rotary encoder click (K132).
  19. */
  20. #pragma once
  21. #include "quantum.h"
  22. #define LAYOUT( \
  23. K00, K01, K02, K03, \
  24. K10, K11, K12, K13 \
  25. ) { \
  26. { K00, K01, K02, K03 }, \
  27. { K10, K11, K12, K13 } \
  28. }