keymap.c 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. /*Copyright 2020 Blake Drayson / Draytronics
  2. Special thanks to sirdicholas for the VIA support config files
  3. VIA Design Config File
  4. https://www.draytronics.co.uk/f_scarlet/draytronics_scarlet_via_config.json
  5. Contact info@draytronics.co.uk
  6. This program is free software: you can redistribute it and/or modify
  7. it under the terms of the GNU General Public License as published by
  8. the Free Software Foundation, either version 2 of the License, or
  9. (at your option) any later version.
  10. This program is distributed in the hope that it will be useful,
  11. but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. GNU General Public License for more details.
  14. You should have received a copy of the GNU General Public License
  15. along with this program. If not, see <http://www.gnu.org/licenses/>.
  16. */
  17. #include QMK_KEYBOARD_H
  18. const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
  19. [0] = LAYOUT_numpad_5x4(
  20. KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS,
  21. KC_P7, KC_P8, KC_P9,
  22. KC_P4, KC_P5, KC_P6, KC_PPLS,
  23. KC_P1, KC_P2, KC_P3,
  24. KC_P0, KC_PDOT, KC_PENT),
  25. [1] = LAYOUT_numpad_5x4(
  26. KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
  27. KC_TRNS, KC_TRNS, KC_TRNS,
  28. KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
  29. KC_TRNS, KC_TRNS, KC_TRNS,
  30. KC_TRNS, KC_TRNS, KC_TRNS ),
  31. [2] = LAYOUT_numpad_5x4(
  32. KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
  33. KC_TRNS, KC_TRNS, KC_TRNS,
  34. KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
  35. KC_TRNS, KC_TRNS, KC_TRNS,
  36. KC_TRNS, KC_TRNS, KC_TRNS ),
  37. [3] = LAYOUT_numpad_5x4(
  38. KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
  39. KC_TRNS, KC_TRNS, KC_TRNS,
  40. KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
  41. KC_TRNS, KC_TRNS, KC_TRNS,
  42. KC_TRNS, KC_TRNS, KC_TRNS ),
  43. };