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.

59 lines
2.6 KiB

  1. /* Copyright 2022 bbrfkr
  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_ansi( \
  19. C00, C01, C02, C03, C04, C05, C06, C56, C55, C54, C53, C52, C51, C50, C90, \
  20. C10, C11, C12, C13, C14, C15, C16, C66, C65, C64, C63, C62, C61, C60, \
  21. C20, C21, C22, C23, C24, C25, C26, C76, C75, C74, C73, C72, C70, \
  22. C30, C31, C32, C33, C34, C35, C36, C86, C85, C84, C83, C82, C81, C80, C91, \
  23. C40, C41, C42, C43, C44, C45, C46, C96, C95, C94, C93, C92 \
  24. ) \
  25. { \
  26. { C00, C01, C02, C03, C04, C05, C06 }, \
  27. { C10, C11, C12, C13, C14, C15, C16 }, \
  28. { C20, C21, C22, C23, C24, C25, C26 }, \
  29. { C30, C31, C32, C33, C34, C35, C36 }, \
  30. { C40, C41, C42, C43, C44, C45, C46 }, \
  31. { C50, C51, C52, C53, C54, C55, C56 }, \
  32. { C60, C61, C62, C63, C64, C65, C66 }, \
  33. { C70, KC_NO, C72, C73, C74, C75, C76 }, \
  34. { C80, C81, C82, C83, C84, C85, C86 }, \
  35. { C90, C91, C92, C93, C94, C95, C96 } \
  36. }
  37. #define LAYOUT_iso( \
  38. C00, C01, C02, C03, C04, C05, C06, C56, C55, C54, C53, C52, C51, C50, C90, \
  39. C10, C11, C12, C13, C14, C15, C16, C66, C65, C64, C63, C62, C61, \
  40. C20, C21, C22, C23, C24, C25, C26, C76, C75, C74, C73, C72, C71, C70, \
  41. C30, C31, C32, C33, C34, C35, C36, C86, C85, C84, C83, C82, C81, C80, C91, \
  42. C40, C41, C42, C43, C44, C45, C46, C96, C95, C94, C93, C92 \
  43. ) \
  44. { \
  45. { C00, C01, C02, C03, C04, C05, C06 }, \
  46. { C10, C11, C12, C13, C14, C15, C16 }, \
  47. { C20, C21, C22, C23, C24, C25, C26 }, \
  48. { C30, C31, C32, C33, C34, C35, C36 }, \
  49. { C40, C41, C42, C43, C44, C45, C46 }, \
  50. { C50, C51, C52, C53, C54, C55, C56 }, \
  51. { KC_NO, C61, C62, C63, C64, C65, C66 }, \
  52. { C70, C71, C72, C73, C74, C75, C76 }, \
  53. { C80, C81, C82, C83, C84, C85, C86 }, \
  54. { C90, C91, C92, C93, C94, C95, C96 } \
  55. }