pearl.h 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. /*
  2. Copyright 2017 Luiz Ribeiro <luizribeiro@gmail.com>
  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. #include "pearl.h"
  17. #define LAYOUT_all( \
  18. K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C,\
  19. K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, \
  20. K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B,\
  21. K30, K31, K32, K34, K35, K37, K39, K3A\
  22. ){ \
  23. { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C}, \
  24. { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, KC_NO}, \
  25. { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, KC_NO}, \
  26. { K30, K31, K32, KC_NO, K34, K35, KC_NO, K37, KC_NO, K39, K3A, KC_NO, KC_NO}, \
  27. }
  28. #define LAYOUT_splits( \
  29. K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C,\
  30. K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, \
  31. K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B,\
  32. K30, K31, K32, K34, K37, K39, K3A\
  33. ){ \
  34. { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C}, \
  35. { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, KC_NO}, \
  36. { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, KC_NO}, \
  37. { K30, K31, K32, KC_NO, K34, KC_NO, KC_NO, K37, KC_NO, K39, K3A, KC_NO, KC_NO}, \
  38. }
  39. #define LAYOUT_spacebar( \
  40. K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C,\
  41. K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, \
  42. K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B,\
  43. K30, K31, K35, K39, K3A\
  44. ){ \
  45. { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C}, \
  46. { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, KC_NO}, \
  47. { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, KC_NO}, \
  48. { K30, K31, KC_NO, KC_NO, KC_NO, K35, KC_NO, KC_NO, KC_NO, K39, K3A, KC_NO, KC_NO}, \
  49. }