logo

qmk_firmware

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

keymap.c (1368B)


  1. /*
  2. Copyright 2022 Nabos <nabos at glargh dot fr>
  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. enum layer_names {
  16. _QWERTY,
  17. _LOWER,
  18. _RAISE,
  19. _ADJUST
  20. };
  21. const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
  22. [_QWERTY] = LAYOUT_split_1x5(
  23. KC_A , KC_S , KC_D , KC_F ,KC_SPC , KC_SPC , KC_J , KC_K , KC_L ,KC_SCLN
  24. ),
  25. [_LOWER] = LAYOUT_split_1x5(
  26. _______,_______,_______,_______,_______, _______,_______,_______,_______,_______
  27. ),
  28. [_RAISE] = LAYOUT_split_1x5(
  29. _______,_______,_______,_______,_______, _______,_______,_______,_______,_______
  30. ),
  31. [_ADJUST] = LAYOUT_split_1x5(
  32. _______,_______,_______,_______,_______, _______,_______,_______,_______,_______
  33. )
  34. };