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.

40 lines
604 B

  1. #pragma once
  2. enum custom_keycodes {
  3. RGBRST = SAFE_RANGE,
  4. #ifndef TAP_DANCE_ENABLE
  5. TD_MIN,
  6. TD_COMM = TD_MIN,
  7. TD_BSPC,
  8. TD_DEL,
  9. TD_DOT,
  10. TD_MAX,
  11. #endif
  12. #ifdef ENCODER_ENABLE
  13. RGB_ENC,
  14. #endif
  15. KEYMAP_SAFE_RANGE
  16. };
  17. #define RIS_ESC LT(_RAISE, KC_ESC)
  18. #define RIS_CAPS LT(_RAISE, KC_CAPS)
  19. #define QWERTY DF(_QWERTY)
  20. #ifndef GAMELAYER_DISABLE
  21. #define GAME DF(_GAME)
  22. #else
  23. #define GAME KC_TRANSPARENT
  24. #endif
  25. #define LOWER MO(_LOWER)
  26. #define RAISE MO(_RAISE)
  27. #ifdef ENCODER_ENABLE
  28. #define KC_ENC1 RGB_ENC
  29. #define KC_ENC2 KC_MPLY
  30. #else
  31. #define KC_ENC1 RGB_RMOD
  32. #define KC_ENC2 RGB_MOD
  33. #endif