choconum.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. /* Copyright 2020 Keebio
  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_ortho_5x4( \
  19. KA1, KA2, KA3, KA4, \
  20. KB1, KB2, KB3, KB4, \
  21. KC1, KC2, KC3, KC4, \
  22. KD1, KD2, KD3, KD4, \
  23. KE1, KE2, KE3, KE4 \
  24. ) \
  25. { \
  26. { KA1, KA2, KA3, KA4 }, \
  27. { KB1, KB2, KB3, KB4 }, \
  28. { KC1, KC2, KC3, KC4 }, \
  29. { KD1, KD2, KD3, KD4 }, \
  30. { KE1, KE2, KE3, KE4 } \
  31. }
  32. #define LAYOUT_numpad_5x4( \
  33. KA1, KA2, KA3, KA4, \
  34. KB1, KB2, KB3, KB4, \
  35. KC1, KC2, KC3, \
  36. KD1, KD2, KD3, KD4, \
  37. KE1, KE3 \
  38. ) \
  39. { \
  40. { KA1, KA2, KA3, KA4 }, \
  41. { KB1, KB2, KB3, KB4 }, \
  42. { KC1, KC2, KC3, KC_NO }, \
  43. { KD1, KD2, KD3, KD4 }, \
  44. { KE1, KC_NO, KE3, KC_NO } \
  45. }