keymap.c 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. /* Copyright 2021 frooastside
  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 3 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(
  19. KC_Z, KC_X,
  20. LT(1, KC_ESC), KC_TILD),
  21. [1] = LAYOUT(
  22. KC_F23, KC_F24,
  23. KC_TRNS, TO(2)),
  24. [2] = LAYOUT(
  25. RGB_TOG, RGB_MOD,
  26. TO(3), TO(0)),
  27. [3] = LAYOUT(
  28. RGB_HUD, RGB_HUI,
  29. TO(4), TO(2)),
  30. [4] = LAYOUT(
  31. RGB_SAD, RGB_SAI,
  32. TO(5), TO(3)),
  33. [5] = LAYOUT(
  34. RGB_VAD, RGB_VAI,
  35. TO(6), TO(4)),
  36. [6] = LAYOUT(
  37. KC_TRNS, KC_TRNS,
  38. RESET, TO(5))
  39. };