mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-30 21:38:01 +06: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
|