logo

qmk_firmware

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

keymap.c (1988B)


  1. /*
  2. Copyright 2020 Ckat <ckat@teknik.io>
  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 2 of the License, or
  6. (at your option) any later version.
  7. This program is distributed in the hope that it will be useful,
  8. but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. GNU General Public License for more details.
  11. You should have received a copy of the GNU General Public License
  12. along with this program. If not, see <http://www.gnu.org/licenses/>.
  13. */
  14. #include QMK_KEYBOARD_H
  15. /* RIGHT
  16. +---------------------------------------+
  17. | F7 | F8 | F9 | F10| F11| F12| INS|PSCR|
  18. +--------------------------------------------|
  19. | DEL| 7 | 8 | 9 | 0 | - | = | BCKSPC |
  20. +--------------------------------------------|
  21. | y | u | i | o | p | [ | ] | \ |
  22. +---------------------------------------------|
  23. |PGUP| h | j | k | l | ; | ' | ENTER |
  24. +-----------------------------------------------|
  25. |HOME|PGDN| n | m | , | . | / | SHIFT |
  26. +-------------------------------------------------+
  27. | END| SPACE | ALT | <- | ↓ | ↑ | -> | CTRL |
  28. +-------------------------------------------------+ */
  29. /* /!\: rows are reversed in this half because I did all pcb design drunk */
  30. const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
  31. [0] = LAYOUT(
  32. KC_END, KC_SPC, KC_RALT, KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT, KC_RCTL,
  33. KC_HOME, KC_PGDN, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT,
  34. KC_PGUP, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENTER,
  35. KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS,
  36. KC_DEL, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC,
  37. KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_INS, KC_PSCR
  38. )
  39. };