keymap.c 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. /* Copyright 2021 KiwiKey
  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_3x3(
  19. KC_MUTE, KC_VOLD, KC_VOLU, // Media volume: Mute - Volume Up - Volume Down
  20. KC_MPLY, KC_MPRV, KC_MNXT, // Media track control: Play/Pause - Previous Track - Next Track
  21. MO(1), LCTL(KC_C), LCTL(KC_V) // FN(1) - Copy - Paste
  22. ),
  23. [1] = LAYOUT_ortho_3x3(
  24. RGB_TOG, RGB_MODE_REVERSE, RGB_MODE_FORWARD,
  25. _______, RGB_MODE_BREATHE, RGB_MODE_RAINBOW,
  26. _______, _______, RESET
  27. ),
  28. [2] = LAYOUT_ortho_3x3(
  29. _______, _______, _______,
  30. _______, _______, _______,
  31. _______, _______, _______
  32. ),
  33. [3] = LAYOUT_ortho_3x3(
  34. _______, _______, _______,
  35. _______, _______, _______,
  36. _______, _______, _______
  37. )
  38. };