keymap.c 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. /* Copyright 2021 NachoxMacho
  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. const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
  18. /*
  19. * ┌───┌───┬───┬───┬───┐
  20. * │ ` │Esc│Tab│MO1│Bsp│
  21. * ├───┼───┼───┼───┼───┤
  22. * │ , │Num│ / │ * │ - │
  23. * ├───┼───┼───┼───┼───┤
  24. * │Gui│ 7 │ 8 │ 9 │ │
  25. * ├───┼───┼───┼───┤ + │
  26. * │Alt│ 4 │ 5 │ 6 │ │
  27. * ├───┼───┼───┼───┼───┤
  28. * │Shi│ 1 │ 2 │ 3 │ │
  29. * ├───┼───┴───┼───┤Ent│
  30. * │Ctr│ 0 │ . │ │
  31. * └───┴───────┴───┴───┘
  32. */
  33. [0] = LAYOUT_numpad_6x5(
  34. KC_GRV, KC_ESC, KC_TAB, MO(1), KC_BSPC,
  35. KC_COMM, KC_NUM, KC_PSLS, KC_PAST, KC_PMNS,
  36. KC_LGUI, KC_P7, KC_P8, KC_P9,
  37. KC_LALT, KC_P4, KC_P5, KC_P6, KC_PPLS,
  38. KC_LSFT, KC_P1, KC_P2, KC_P3,
  39. KC_LCTL, KC_P0, KC_PDOT, KC_PENT
  40. ),
  41. /*
  42. * ┌───┌───┐───┬───┬───┐
  43. * │ ` │Rst│Tab│MO1│Bsp│
  44. * ├───┼───┘───┼───┼───┤
  45. * │ , │Num│ / │ * │ - │
  46. * ├───┼───┼───┼───┼───┤
  47. * │Gui│Hom│ ↑ │PgU│ │
  48. * ├───┼───┼───┼───┤ + │
  49. * │Alt│ ← │ │ → │ │
  50. * ├───┼───┼───┼───┤───┤
  51. * │Shi│End│ ↓ │PgD│ │
  52. * ├───┼───┴───┼───┤Ent│
  53. * │Ctr│Insert │Del│ │
  54. * └───┴───────┴───┘───┘
  55. */
  56. [1] = LAYOUT_numpad_6x5(
  57. _______, QK_BOOT, _______, _______, _______,
  58. _______, _______, _______, _______, _______,
  59. _______, KC_HOME, KC_UP, KC_PGUP,
  60. _______, KC_LEFT, XXXXXXX, KC_RGHT, _______,
  61. _______, KC_END, KC_DOWN, KC_PGDN,
  62. _______, KC_INS, KC_DEL, _______
  63. )
  64. };