v2.h 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. /* Copyright 2022 QMK / James Young (@noroadsleft)
  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 XXX KC_NO
  19. /*
  20. * ┌───┬───┬───┬───┐
  21. * │00 │01 │02 │03 │
  22. * └───┴───┴───┴───┘
  23. * ┌───┬───┬───┬───┐
  24. * │10 │11 │12 │13 │
  25. * ├───┼───┼───┼───┤ ┌───┐
  26. * │20 │21 │22 │23 │ │ │
  27. * ├───┼───┼───┼───┤ │?? │ 2u Plus
  28. * │30 │31 │32 │33 │ │ │
  29. * ├───┼───┼───┼───┤ ├───┤
  30. * │40 │41 │42 │43 │ │ │
  31. * ├───┼───┼───┼───┤ │?? │ 2u Enter
  32. * │50 │51 │52 │53 │ │ │
  33. * └───┴───┴───┴───┘ └───┘
  34. * ┌───────┐
  35. * │?? │ 2u 0
  36. * └───────┘
  37. */
  38. #define LAYOUT_ortho_6x4( \
  39. K00, K01, K02, K03, \
  40. K10, K11, K12, K13, \
  41. K20, K21, K22, K23, \
  42. K30, K31, K32, K33, \
  43. K40, K41, K42, K43, \
  44. K50, K51, K52, K53 \
  45. ) { \
  46. { K00, K01, K02, K03 }, \
  47. { K10, K11, K12, K13 }, \
  48. { K20, K21, K22, K23 }, \
  49. { K30, K31, K32, K33 }, \
  50. { K40, K41, K42, K43 }, \
  51. { K50, K51, K52, K53 }, \
  52. }