keymap.c 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /* Copyright 2020 Relocks
  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. [0] = LAYOUT_ortho_4x4(
  19. KC_KP_7, KC_KP_8, KC_KP_9, MO(1),
  20. KC_KP_4, KC_KP_5, KC_KP_6, KC_PMNS,
  21. KC_KP_1, KC_KP_2, KC_KP_3, KC_PPLS,
  22. KC_KP_0, KC_PDOT, KC_PCMM, KC_PENT
  23. ),
  24. [1] = LAYOUT_ortho_4x4(
  25. RESET, BL_STEP, KC_TRNS, KC_VOLU,
  26. BL_TOGG, BL_DEC, BL_INC, KC_VOLD,
  27. RGB_TOG, RGB_MOD, RGB_HUI, KC_MUTE,
  28. RGB_SAI, RGB_SAD, RGB_HUD, KC_TRNS
  29. ),
  30. [2] = LAYOUT_ortho_4x4(
  31. KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
  32. KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
  33. KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
  34. KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
  35. ),
  36. [3] = LAYOUT_ortho_4x4(
  37. KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
  38. KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
  39. KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
  40. KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
  41. ),
  42. };