keymap.c 945 B

1234567891011121314151617181920212223242526272829303132333435
  1. /*
  2. * Let's Split - Dvorak turkish
  3. * Keymap by @bbaserdem
  4. * Dvorak layout with multiple features
  5. * Most of the code is in the "user" directory.
  6. * Check qmk_firmware/users/bbaserdem for the main part of the code
  7. */
  8. #include "lets_split.h"
  9. #include "bbaserdem.h"
  10. void matrix_init_keymap (void) {
  11. }
  12. uint32_t layer_state_set_keymap(uint32_t state) {
  13. return state;
  14. }
  15. const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
  16. // Main Dvorak layer
  17. [_DV] = LAYOUT_letssplit_wrapper(DVORAK),
  18. // Turkish and special character overlay
  19. [_AL] = LAYOUT_letssplit_wrapper(ALTCHAR),
  20. // Gaming layer
  21. [_GA] = LAYOUT_letssplit_wrapper(GAME),
  22. // Numbers layer
  23. [_NU] = LAYOUT_letssplit_wrapper(NUMBERS),
  24. // Settings layer
  25. [_SE] = LAYOUT_letssplit_wrapper(SETTINGS),
  26. // Mouse emulation layer
  27. [_MO] = LAYOUT_letssplit_wrapper(MOUSE),
  28. // Music layer
  29. [_MU] = LAYOUT_letssplit_wrapper(MUSIC),
  30. };