keymap.c 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. /* Copyright 2021 keyquest
  2. This program is free software: you can redistribute it and/or modify
  3. it under the terms of the GNU General Public License as published by
  4. the Free Software Foundation, either version 2 of the License, or
  5. (at your option) any later version.
  6. This program is distributed in the hope that it will be useful,
  7. but WITHOUT ANY WARRANTY; without even the implied warranty of
  8. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  9. GNU General Public License for more details.
  10. You should have received a copy of the GNU General Public License
  11. along with this program. If not, see <http://www.gnu.org/licenses/>.
  12. */
  13. #include QMK_KEYBOARD_H
  14. const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
  15. /*
  16. * M = Macro
  17. * ┌────┬────┬────┐
  18. * │ M1 │ M2 │ M3 │
  19. * ├────┼────┼────┤
  20. * │ M4 │ M5 │ M6 │
  21. * ├────┼────┼────┤
  22. * │ M7 │ M8 │ M9 │
  23. * └────┴────┴────┘
  24. */
  25. [0] = LAYOUT_ortho_3x3(
  26. KC_MEDIA_PREV_TRACK, KC_MEDIA_PLAY_PAUSE, KC_MEDIA_NEXT_TRACK,
  27. KC_AUDIO_VOL_UP, KC_AUDIO_MUTE, KC_AUDIO_VOL_DOWN,
  28. _______, _______, _______
  29. ),
  30. [1] = LAYOUT_ortho_3x3(
  31. _______, _______, _______,
  32. _______, _______, _______,
  33. _______, _______, _______
  34. ),
  35. [2] = LAYOUT_ortho_3x3(
  36. _______, _______, _______,
  37. _______, _______, _______,
  38. _______, _______, _______
  39. ),
  40. [3] = LAYOUT_ortho_3x3(
  41. _______, _______, _______,
  42. _______, _______, _______,
  43. _______, _______, _______
  44. )
  45. };