logo

qmk_firmware

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

keymap.c (1525B)


  1. /* Copyright 2020 Sergi Meseguer <zigotica@gmail.com>
  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. enum layers {
  15. BASE = 0
  16. };
  17. const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
  18. /*
  19. * Base Layer: BASE
  20. *
  21. * ,-----------------------.
  22. * | | o | o | |
  23. * |-------+---+---+-------|
  24. * | o | o | o | o |
  25. * |-------+-------+-------|
  26. * | o | o | o |
  27. * |-------+-------+-------|
  28. * | o | o | o |
  29. * |-------+-------+-------|
  30. */
  31. [BASE] = LAYOUT(
  32. KC_Q, KC_W,
  33. KC_E, KC_R, KC_T, KC_Y,
  34. KC_U, KC_I, KC_O,
  35. KC_P, KC_K, KC_A
  36. ),
  37. /*
  38. * TEMPLATE
  39. *
  40. * ,-----------------------.
  41. * | | o | o | |
  42. * |-------+---+---+-------|
  43. * | o | o | o | o |
  44. * |-------+-------+-------|
  45. * | o | o | o |
  46. * |-------+-------+-------|
  47. * | o | o | o |
  48. * |-------+-------+-------|
  49. */
  50. };