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.

20 lines
394 B

  1. #ifndef USERSPACE
  2. #define USERSPACE
  3. #include "quantum.h"
  4. #ifdef TAP_DANCE_ENABLE // only enable for tap dances
  5. enum {
  6. TD_ECAP = 0,
  7. };
  8. #define KC_ECAP TD(TD_ECAP)
  9. typedef struct {
  10. bool toggled; // store whether we have toggled caps lock
  11. int toggle_mode; // idk why but maybe do something with this..
  12. int normal_mode;
  13. } tap;
  14. #endif
  15. #endif