v2.h 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. /* Copyright 2018 TurboMech /u/TurboMech <discord> @A9entOran9e#6134
  2. * This program is free software: you can redistribute it and/or modify
  3. * it under the terms of the GNU General Public License as published by
  4. * the Free Software Foundation, either version 2 of the License, or
  5. * (at your option) any later version.
  6. *
  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. *
  12. * You should have received a copy of the GNU General Public License
  13. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  14. */
  15. #ifndef V2_H
  16. #define V2_H
  17. #include "../mechmini.h"
  18. #define LAYOUT_ortho( \
  19. K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, \
  20. K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, \
  21. K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, \
  22. K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311 \
  23. ) { \
  24. { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011 }, \
  25. { K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111 }, \
  26. { K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211 }, \
  27. { K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311 } \
  28. }
  29. #define LAYOUT_625_space( \
  30. K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, \
  31. K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K111, \
  32. K200, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, \
  33. K300, K301, K302, K306, K310, K311 \
  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, KC_NO, K111 }, \
  37. { K200, KC_NO, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211 }, \
  38. { K300, K301, K302, KC_NO, KC_NO, KC_NO, K306, KC_NO, KC_NO, KC_NO, K310, K311 } \
  39. }
  40. #define LAYOUT_split_space( \
  41. K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, \
  42. K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K111, \
  43. K200, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, \
  44. K300, K301, K302, K304, K307, K309, K310, K311 \
  45. ) { \
  46. { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011 }, \
  47. { K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, KC_NO, K111 }, \
  48. { K200, KC_NO, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211 }, \
  49. { K300, K301, K302, KC_NO, K304, KC_NO, KC_NO, K307, KC_NO, K309, K310, K311 } \
  50. }
  51. #define LAYOUT_2u_space_ortho( \
  52. K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, \
  53. K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, \
  54. K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, \
  55. K300, K301, K302, K303, K304, K305, K307, K308, K309, K310, K311 \
  56. ) { \
  57. { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011 }, \
  58. { K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111 }, \
  59. { K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211 }, \
  60. { K300, K301, K302, K303, K304, K305, K305, K307, K308, K309, K310, K311 } \
  61. }
  62. #endif