the40.h 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. /*
  2. Copyright 2020 LAZYDESIGNERS
  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 "quantum.h"
  16. #define LAYOUT_all( \
  17. K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, \
  18. K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, \
  19. K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, \
  20. K300, K301, K302, K304, K306, K308, K309, K310 \
  21. ) \
  22. { \
  23. { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011 }, \
  24. { K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, KC_NO }, \
  25. { K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, KC_NO }, \
  26. { K300, K301, K302, KC_NO, K304, KC_NO, K306, KC_NO, K308, K309, K310, KC_NO }, \
  27. }
  28. #define LAYOUT_ortho( \
  29. K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, \
  30. K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, \
  31. K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, \
  32. K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311 \
  33. ) \
  34. { \
  35. { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011 }, \
  36. { K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111 }, \
  37. { K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211 }, \
  38. { K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311 }, \
  39. }
  40. #define LAYOUT_wkl( \
  41. K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, \
  42. K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, \
  43. K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, \
  44. K300, K302, K304, K306, K308, K310 \
  45. ) \
  46. { \
  47. { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011 }, \
  48. { K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, KC_NO }, \
  49. { K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, KC_NO }, \
  50. { K300, K301, K302, KC_NO, K304, KC_NO, K306, KC_NO, K308, K309, K310, KC_NO }, \
  51. }