You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

62 lines
1.8 KiB

  1. #include QMK_KEYBOARD_H
  2. #ifdef RGBLIGHT_ENABLE
  3. #include "rgblight.h"
  4. #endif
  5. // Each layer gets a name for readability, which is then used in the keymap matrix below.
  6. // The underscores don't mean anything - you can have a layer called STUFF or any other name.
  7. // Layer names don't all need to be of the same length, obviously, and you can also skip them
  8. // entirely and just use numbers.
  9. #define _BL 0
  10. #define _FL 1
  11. const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
  12. /* Keymap _BL: (Base Layer) Default Layer
  13. * ,-------------------.
  14. * |Spac| N | H | Y |
  15. * |----|----|----|----|
  16. * | Fn | M | J | U |
  17. * |----|----|----|----|
  18. * |Left| , | K | I |
  19. * |----|----|----|----|
  20. * |Down| . | L | O |
  21. * |----|----|----|----|
  22. * | Up | / | ; | P |
  23. * |----|----|----|----|
  24. * |Rght| Ret| " |Bspc|
  25. * `-------------------'
  26. */
  27. [_BL] = LAYOUT_ortho_6x4(
  28. KC_SPACE, KC_N, KC_H, KC_Y, \
  29. MO(1), KC_M, KC_J, KC_U, \
  30. KC_LEFT, KC_COMM, KC_K, KC_I, \
  31. KC_DOWN, KC_DOT, KC_L, KC_O, \
  32. KC_UP, KC_SLASH, KC_SCLN, KC_P, \
  33. KC_RIGHT, KC_ENT, KC_QUOT, KC_BSPC
  34. ),
  35. /* Keymap _FL: Function Layer
  36. * ,-------------------.
  37. * |Esc | F12| F6 | 6 |
  38. * |----|----|----|----|
  39. * | NL | M | - | 7 |
  40. * |----|----|----|----|
  41. * |Left| , | = | 8 |
  42. * |----|----|----|----|
  43. * |Down| . | [ | 9 |
  44. * |----|----|----|----|
  45. * | Up | / | ] | 0 |
  46. * |----|----|----|----|
  47. * |Rght| Ret| \ | Del|
  48. * `-------------------'
  49. */
  50. [_FL] = LAYOUT_ortho_6x4(
  51. _______, KC_F12, KC_F6, KC_6, \
  52. _______, _______, KC_MINS, KC_7, \
  53. _______, _______, KC_EQL, KC_8, \
  54. _______, _______, KC_LBRC, KC_9, \
  55. _______, _______, KC_RBRC, KC_0, \
  56. _______, _______, KC_BSLS, KC_DEL
  57. ),
  58. };