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.

50 lines
2.4 KiB

  1. /* Copyright 2022
  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. #define ___ KC_NO
  18. #include "quantum.h"
  19. #define LAYOUT_default( \
  20. K00, K01, K02, K03, K04, K05, K06, K49, K4A, K4B, K4C, K4D, K4E, K48, \
  21. K07, K10, K11, K12, K13, K14, K39, K3A, K3B, K3C, K3D, K3E, K3F, K38, \
  22. K17, K20, K21, K22, K16, K15, K29, K2A, K2B, K2C, K2D, K2E, K28, \
  23. K27, K31, K26, K25, K24, K23, K19, K1A, K1B, K1C, K1D, K1E, K1F, K18, \
  24. K37, K35, K34, K33, K0A, K0B, K0C, K0F, K08 \
  25. ) { \
  26. { K00, K01, K02, K03, K04, K05, K06, K07, K08, ___, K0A, K0B, K0C, ___, ___, K0F }, \
  27. { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E, K1F }, \
  28. { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2E, ___ }, \
  29. { ___, K31, ___, K33, K34, K35, ___, K37, K38, K39, K3A, K3B, K3C, K3D, K3E, K3F }, \
  30. { ___, ___, ___, ___, ___, ___, ___, ___, K48, K49, K4A, K4B, K4C, K4D, K4E, ___ } \
  31. }
  32. #define LAYOUT_split_backspace( \
  33. K00, K01, K02, K03, K04, K05, K06, K49, K4A, K4B, K4C, K4D, K4E, K4F, K48, \
  34. K07, K10, K11, K12, K13, K14, K39, K3A, K3B, K3C, K3D, K3E, K3F, K38, \
  35. K17, K20, K21, K22, K16, K15, K29, K2A, K2B, K2C, K2D, K2E, K28, \
  36. K27, K31, K26, K25, K24, K23, K19, K1A, K1B, K1C, K1D, K1E, K1F, K18, \
  37. K37, K35, K34, K33, K0A, K0B, K0C, K0F, K08 \
  38. ) { \
  39. { K00, K01, K02, K03, K04, K05, K06, K07, K08, ___, K0A, K0B, K0C, ___, ___, K0F }, \
  40. { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E, K1F }, \
  41. { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2E, ___ }, \
  42. { ___, K31, ___, K33, K34, K35, ___, K37, K38, K39, K3A, K3B, K3C, K3D, K3E, K3F }, \
  43. { ___, ___, ___, ___, ___, ___, ___, ___, K48, K49, K4A, K4B, K4C, K4D, K4E, K4F } \
  44. }