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.

63 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. * | T | G | B |Spac|
  15. * |----|----|----|----|
  16. * | R | F | V | Fn |
  17. * |----|----|----|----|
  18. * | E | D | C | OS |
  19. * |----|----|----|----|
  20. * | W | S | X | Alt|
  21. * |----|----|----|----|
  22. * | Q | A | Z | Ctl|
  23. * |----|----|----|----|
  24. * | Esc| Tab|Shft| Fn2|
  25. * `-------------------'
  26. */
  27. [_BL] = LAYOUT_ortho_6x4(
  28. KC_T, KC_G, KC_B, KC_SPACE,\
  29. KC_R, KC_F, KC_V, MO(1), \
  30. KC_E, KC_D, KC_C, KC_LGUI, \
  31. KC_W, KC_S, KC_X, KC_LALT, \
  32. KC_Q, KC_A, KC_Z, KC_LCTL, \
  33. KC_TAB, KC_ESC, KC_LSHIFT, MO(1)
  34. ),
  35. /* Keymap _FL: Function Layer
  36. * ,-------------------.
  37. * | 5 | F5 | F11|Spac|
  38. * |----|----|----|----|
  39. * | 4 | F4 | F10| |
  40. * |----|----|----|----|
  41. * | 3 | F3 | F9 | OS |
  42. * |----|----|----|----|
  43. * | 2 | F2 | F8 | Alt|
  44. * |----|----|----|----|
  45. * | 1 | F1 | F7 | Ctl|
  46. * |----|----|----|----|
  47. * | ` | Del|Shft| |
  48. * `-------------------'
  49. */
  50. [_FL] = LAYOUT_ortho_6x4(
  51. KC_5, KC_F5, KC_F11, _______, \
  52. KC_4, KC_F4, KC_F10, _______, \
  53. KC_3, KC_F3, KC_F9, _______, \
  54. KC_2, KC_F2, KC_F8, _______, \
  55. KC_1, KC_F1, KC_F7, _______, \
  56. KC_GRV,KC_DEL, _______, _______
  57. ),
  58. };