pearl.h 2.5 KB

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