You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

52 lines
1.9 KiB

  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 V1_H
  15. #define V2_H
  16. #include "../mechmini.h"
  17. #include "keycode.h"
  18. #include "action.h"
  19. #include "quantum.h"
  20. #define KEYMAP( \
  21. K03, K13, K23, K33, K43, K53, K26, KC6, KC7, K27, KA3, KB3, \
  22. K02, K12, K22, K32, K42, K52, K36, KD6, KD7, K37, KA2, \
  23. K01, K11, K21, K31, K41, K51, K46, KE6, KE7, K47, KA1, \
  24. K00, K10, K20, K56, K57, KB0, KC0, K66 \
  25. ) \
  26. { \
  27. { K00, K10, K20, K56, KC_NO, K57, KC_NO, KC_NO, KB0, KC0, K66, KC_NO }, \
  28. { K01, K11, K21, K31, K41, K51, K46, KE6, KE7, K47, KA1, KC_NO }, \
  29. { K02, K12, K22, K32, K42, K52, K36, KD6, KD7, K37, KA2, KC_NO }, \
  30. { K03, K13, K23, K33, K43, K53, K26, KC6, KC7, K27, KA3, KB3 } \
  31. }
  32. #define LAYOUT_split_space( \
  33. K03, K13, K23, K33, K43, K53, K26, KC6, KC7, K27, KA3, KB3, \
  34. K02, K12, K22, K32, K42, K52, K36, KD6, KD7, K37, KA2, \
  35. K01, K11, K21, K31, K41, K51, K46, KE6, KE7, K47, KA1, \
  36. K00, K10, K20, K56, K57, KB0, KC0, K66 \
  37. ) \
  38. { \
  39. { K00, K10, K20, K56, KC_NO, KC_NO, K57, KC_NO, KB0, KC0, K66, KC_NO }, \
  40. { K01, K11, K21, K31, K41, K51, K46, KE6, KE7, K47, KA1, KC_NO }, \
  41. { K02, K12, K22, K32, K42, K52, K36, KD6, KD7, K37, KA2, KC_NO }, \
  42. { K03, K13, K23, K33, K43, K53, K26, KC6, KC7, K27, KA3, KB3 } \
  43. }
  44. #endif