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.

57 lines
1.6 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. };