logo

qmk_firmware

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

keymap.c (1361B)


  1. /* Copyright 2021 Ocean
  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. *
  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. *
  12. * You should have received a copy of the GNU General Public License
  13. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  14. */
  15. #include QMK_KEYBOARD_H
  16. const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
  17. [0] = LAYOUT_ortho_4x3(
  18. KC_P7, KC_P8, KC_P9,
  19. KC_P4, KC_P5, KC_P6,
  20. KC_P1, KC_P2, KC_P3,
  21. KC_PENT, KC_P0, MO(1)
  22. ),
  23. [1] = LAYOUT_ortho_4x3(
  24. KC_TRNS, KC_TRNS, KC_TRNS,
  25. KC_TRNS, KC_TRNS, KC_TRNS,
  26. KC_TRNS, KC_TRNS, KC_TRNS,
  27. KC_TRNS, KC_TRNS, KC_TRNS
  28. ),
  29. [2] = LAYOUT_ortho_4x3(
  30. KC_TRNS, KC_TRNS, KC_TRNS,
  31. KC_TRNS, KC_TRNS, KC_TRNS,
  32. KC_TRNS, KC_TRNS, KC_TRNS,
  33. KC_TRNS, KC_TRNS, KC_TRNS
  34. ),
  35. [3] = LAYOUT_ortho_4x3(
  36. KC_TRNS, KC_TRNS, KC_TRNS,
  37. KC_TRNS, KC_TRNS, KC_TRNS,
  38. KC_TRNS, KC_TRNS, KC_TRNS,
  39. KC_TRNS, KC_TRNS, KC_TRNS
  40. )
  41. };