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.

58 lines
2.8 KiB

  1. /* Copyright 2020 Sergi Meseguer <zigotica@gmail.com>
  2. This program is free software: you can redistribute it and/or modify
  3. it under the terms of the GNU General Public License as published by
  4. the Free Software Foundation, either version 2 of the License, or
  5. (at your option) any later version.
  6. This program is distributed in the hope that it will be useful,
  7. but WITHOUT ANY WARRANTY; without even the implied warranty of
  8. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  9. GNU General Public License for more details.
  10. You should have received a copy of the GNU General Public License
  11. along with this program. If not, see <http://www.gnu.org/licenses/>.
  12. */
  13. #include "zigotica.h"
  14. #define LAYOUT_wrapper(...) LAYOUT(__VA_ARGS__)
  15. const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
  16. [BASE] = LAYOUT_wrapper(
  17. _______, _STENAI_L1, _STENAI_R1, _______,
  18. _______, _STENAI_L2, _STENAI_R2, _______,
  19. _______, _STENAI_L3, _______, _______, _______, _______, _STENAI_R3, _______,
  20. _______, _______, _STENAI_LT, _______, _______, _STENAI_RT, _______, _______
  21. ),
  22. [_NUM] = LAYOUT_wrapper(
  23. _______, ____NUM_L1, ____NUM_R1, _______,
  24. _______, ____NUM_L2, ____NUM_R2, _______,
  25. _______, ____NUM_L3, _______, _______, _______, _______, ____NUM_R3, _______,
  26. _______, _______, ____NUM_LT, _______, _______, ____NUM_RT, _______, _______
  27. ),
  28. [_NAV] = LAYOUT_wrapper(
  29. _______, ____NAV_L1, ____NAV_R1, _______,
  30. _______, ____NAV_L2, ____NAV_R2, _______,
  31. _______, ____NAV_L3, _______, _______, _______, _______, ____NAV_R3, _______,
  32. _______, _______, ____NAV_LT, _______, _______, ____NAV_RT, _______, _______
  33. ),
  34. [_SYM] = LAYOUT_wrapper(
  35. _______, ____SYM_L1, ____SYM_R1, _______,
  36. _______, ____SYM_L2, ____SYM_R2, _______,
  37. _______, ____SYM_L3, _______, _______, _______, _______, ____SYM_R3, _______,
  38. _______, _______, ____SYM_LT, _______, _______, ____SYM_RT, _______, _______
  39. ),
  40. [_FN] = LAYOUT_wrapper(
  41. _______, ____FN_L1, ____FN_R1, _______,
  42. _______, ____FN_L2, ____FN_R2, _______,
  43. _______, ____FN_L3, _______, _______, _______, _______, ____FN_R3, _______,
  44. _______, _______, ____FN_LT, _______, _______, ____FN_RT, _______, _______
  45. ),
  46. };