keymap.c 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. /* Copyright 2020 Team Mechlovin
  2. *
  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. *
  8. * This program is distributed in the hope that it will be useful,
  9. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. * GNU General Public License for more details.
  12. *
  13. * You should have received a copy of the GNU General Public License
  14. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  15. */
  16. #include QMK_KEYBOARD_H
  17. const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
  18. /* Keymap _BL: (Base Layer) Default Layer
  19. * ,-------------------.
  20. * |Esc |TAB | FN | BS |
  21. * |----|----|----|----|
  22. * | NL | / | * | - |
  23. * |----|----|----|----|
  24. * | 7 | 8 | 9 | |
  25. * |----|----|----| + |
  26. * | 4 | 5 | 6 | |
  27. * |----|----|----|----|
  28. * | 1 | 2 | 3 | |
  29. * |----|----|----| En |
  30. * | 0 | . | |
  31. * `-------------------'
  32. */
  33. [0] = LAYOUT_numpad_6x4(
  34. KC_ESC, KC_TAB, MO(1), KC_BSPC,
  35. KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS,
  36. KC_P7, KC_P8, KC_P9,
  37. KC_P4, KC_P5, KC_P6, KC_PPLS,
  38. KC_P1, KC_P2, KC_P3,
  39. KC_P0, KC_PDOT, KC_PENT
  40. ),
  41. /* Keymap _FL: Function Layer
  42. * ,-------------------.
  43. * |RGBT| | | |
  44. * |----|----|----|----|
  45. * |RGBM|RGBP|BTOG| |
  46. * |----|----|----|----|
  47. * |HUD |HUI |BON | |
  48. * |----|----|----| |
  49. * |SAD |SAI |BOFF| |
  50. * |----|----|----|----|
  51. * |VAD |VAS |BSTP| |
  52. * |----|----|----| |
  53. * | |RST | |
  54. * `-------------------'
  55. */
  56. [1] = LAYOUT_numpad_6x4(
  57. RGB_TOG, _______, _______, _______,
  58. RGB_MOD, RGB_M_P, BL_TOGG, _______,
  59. RGB_HUD, RGB_HUI, BL_ON,
  60. RGB_SAD, RGB_SAI, BL_OFF, _______,
  61. RGB_VAD, RGB_VAI, BL_STEP,
  62. _______, RESET, _______
  63. ),
  64. [2] = LAYOUT_numpad_6x4(
  65. KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
  66. KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
  67. KC_TRNS, KC_TRNS, KC_TRNS,
  68. KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
  69. KC_TRNS, KC_TRNS, KC_TRNS,
  70. KC_TRNS, KC_TRNS, KC_TRNS
  71. ),
  72. [3] = LAYOUT_numpad_6x4(
  73. KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
  74. KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
  75. KC_TRNS, KC_TRNS, KC_TRNS,
  76. KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
  77. KC_TRNS, KC_TRNS, KC_TRNS,
  78. KC_TRNS, KC_TRNS, KC_TRNS
  79. )
  80. };