tap_dance.h 403 B

12345678910111213141516171819202122232425
  1. #pragma once
  2. #include "quantum.h"
  3. #define DESKTOP TD(TD_DESKTOP)
  4. #define DSKTP_L LCTL(LGUI(KC_LEFT))
  5. #define DSKTP_R LCTL(LGUI(KC_RGHT))
  6. #define RAL_LAL TD(TD_RAL_LAL)
  7. #define RAL_RGU TD(TD_RAL_RGU)
  8. #define RCT_RSF TD(TD_RCT_RSF)
  9. #define FN_RCTL TD(TD_FN_RCTL)
  10. #define LSFT_FN TD(TD_LSFT_FN)
  11. enum tap_dance {
  12. TD_DESKTOP,
  13. TD_RAL_LAL,
  14. TD_RAL_RGU,
  15. TD_RCT_RSF,
  16. TD_FN_RCTL,
  17. TD_LSFT_FN,
  18. };