logo

qmk_firmware

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

keymap.c (4656B)


  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. * | | | | | | | | | | | |
  23. * | Q | W | E | R | T | | Y | U | I | O | P |
  24. * | | | | | | | | | | | |
  25. * |-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------|
  26. * | | | | | | | | | | | |
  27. * | A | S | D | F | G | | H | J | K | L | ' |
  28. * | | | | | | | | | | | |
  29. * |-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------|
  30. * | | | | | | | | | | | |
  31. * | Z | X | C | V | B | | N | M | , | . | / |
  32. * | | | | | | | | | | | |
  33. * `-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------.
  34. * | | | | | |
  35. * | ESC | SPC | | ENTER | BSPC |
  36. * | | | | | |
  37. * `---------------' `---------------'
  38. *
  39. */
  40. [BASE] = LAYOUT(
  41. KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P,
  42. KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_QUOT,
  43. KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM,KC_DOT, KC_SLSH,
  44. KC_ESC, KC_SPC, KC_ENT, KC_BSPC
  45. ),
  46. /*
  47. * TEMPLATE
  48. *
  49. * ,---------------------------------------. ,---------------------------------------.
  50. * | | | | | | | | | | | |
  51. * | | | | | | | | | | | |
  52. * | | | | | | | | | | | |
  53. * |-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------|
  54. * | | | | | | | | | | | |
  55. * | | | | | | | | | | | |
  56. * | | | | | | | | | | | |
  57. * |-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------|
  58. * | | | | | | | | | | | |
  59. * | | | | | | | | | | | |
  60. * | | | | | | | | | | | |
  61. * `-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------.
  62. * | | | | | |
  63. * | | | | | |
  64. * | | | | | |
  65. * `---------------' `---------------'
  66. *
  67. */
  68. };