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