logo

qmk_firmware

custom branch of QMK firmware git clone https://anongit.hacktivis.me/git/qmk_firmware.git

keymap.c (1155B)


  1. /* Copyright 2021-2022 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. UG_TOGG, UG_NEXT,
  26. TO(3), TO(0)),
  27. [3] = LAYOUT(
  28. UG_HUED, UG_HUEU,
  29. TO(4), TO(2)),
  30. [4] = LAYOUT(
  31. UG_SATD, UG_SATU,
  32. TO(5), TO(3)),
  33. [5] = LAYOUT(
  34. UG_VALD, UG_VALU,
  35. TO(6), TO(4)),
  36. [6] = LAYOUT(
  37. KC_TRNS, KC_TRNS,
  38. QK_BOOT, TO(5))
  39. };