jj40.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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 KEYMAP_COMMON_H
  15. #define KEYMAP_COMMON_H
  16. #include "quantum_keycodes.h"
  17. #include "keycode.h"
  18. #include "action.h"
  19. #define KEYMAP( \
  20. K01, K02, K03, K04, K05, K06, K07, K08, K09, K010, K011, K012, \
  21. K11, K12, K13, K14, K15, K16, K17, K18, K19, K110, K111, K112, \
  22. K21, K22, K23, K24, K25, K26, K27, K28, K29, K210, K211, K212, \
  23. K31, K32, K33, K34, K35, K3X, K38, K39, K310, K311, K312 \
  24. ) \
  25. { \
  26. { K012, K011, K010, K09, K05, K06, K07, K08, K04, K03, K02, K01 }, \
  27. { K112, K111, K110, K19, K15, K16, K17, K18, K14, K13, K12, K11 }, \
  28. { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO }, \
  29. { K212, K211, K210, K29, K25, K26, K27, K28, K24, K23, K22, K21 }, \
  30. { K312, K311, K310, K39, K35, K3X, KC_NO, K38, K34, K33, K32, K31 } \
  31. }
  32. #endif