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.

44 lines
1.3 KiB

  1. /* Copyright 2020 KiwiKeebs
  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. // Defines names for use in layer keycodes and the keymap
  18. enum layer_names {
  19. _BASE,
  20. _FN1,
  21. _FN2,
  22. _FN3
  23. };
  24. const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
  25. /* Base */
  26. [_BASE] = LAYOUT(
  27. KC_DEL, KC_HOME, LT(_FN1,KC_END),
  28. KC_MPRV, KC_MPLY, KC_MNXT, KC_MUTE
  29. ),
  30. [_FN1] = LAYOUT(
  31. RESET, KC_UP, _______,
  32. KC_LEFT, KC_DOWN, KC_RGHT, MAGIC_TOGGLE_NKRO
  33. ),
  34. [_FN2] = LAYOUT(
  35. _______, _______, _______,
  36. _______, _______, _______, _______
  37. ),
  38. [_FN3] = LAYOUT(
  39. _______, _______, _______,
  40. _______, _______, _______, _______
  41. )
  42. };