keymap.c 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. /*
  2. * Numpad 5x4 Keymap
  3. *
  4. * Copyright (C) 2020 Sendy YK <https://mr.sendyyk.com>
  5. *
  6. * This program is free software: you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License as published by
  8. * the Free Software Foundation, either version 3 of the License, or
  9. * (at your option) any later version.
  10. *
  11. * This program is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. * GNU General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU General Public License
  17. * along with this program. If not, see <https://www.gnu.org/licenses/>.
  18. */
  19. #include QMK_KEYBOARD_H
  20. enum layer_names {
  21. _BASE
  22. };
  23. const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
  24. [_BASE] = LAYOUT_numpad_5x4(
  25. KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS,
  26. KC_P7, KC_P8, KC_P9,
  27. KC_P4, KC_P5, KC_P6, KC_PPLS,
  28. KC_P1, KC_P2, KC_P3,
  29. KC_P0, KC_PDOT, KC_PENT
  30. )
  31. };