mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-11-24 20:32:58 +00:00
21 lines
394 B
C
21 lines
394 B
C
|
#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
|