keymap.c 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. /* Copyright 2020 Paul James
  2. *
  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. *
  8. * This program is distributed in the hope that it will be useful,
  9. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. * GNU General Public License for more details.
  12. *
  13. * You should have received a copy of the GNU General Public License
  14. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  15. */
  16. #include QMK_KEYBOARD_H
  17. #include "peej.h"
  18. const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
  19. [_BASE] = LAYOUT_PEEJ(
  20. BASE_ROW_1,
  21. BASE_ROW_2,
  22. BASE_ROW_3,
  23. BASE_ROW_4,
  24. BASE_ROW_5
  25. ),
  26. [_SYMBOL] = LAYOUT_PEEJ(
  27. SYMBOL_ROW_1,
  28. SYMBOL_ROW_2,
  29. SYMBOL_ROW_3,
  30. SYMBOL_ROW_4,
  31. SYMBOL_ROW_5
  32. ),
  33. [_FUNCTION] = LAYOUT_PEEJ(
  34. FUNCTION_ROW_1,
  35. FUNCTION_ROW_2,
  36. FUNCTION_ROW_3,
  37. FUNCTION_ROW_4,
  38. FUNCTION_ROW_5
  39. ),
  40. [_ADJUST] = LAYOUT_PEEJ(
  41. ADJUST_ROW_1,
  42. ADJUST_ROW_2,
  43. ADJUST_ROW_3,
  44. ADJUST_ROW_4,
  45. ADJUST_ROW_5
  46. )
  47. };