diff options
Diffstat (limited to 'users/xulkal/custom_tap_dance.h')
-rw-r--r-- | users/xulkal/custom_tap_dance.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/users/xulkal/custom_tap_dance.h b/users/xulkal/custom_tap_dance.h new file mode 100644 index 000000000..33398808d --- /dev/null +++ b/users/xulkal/custom_tap_dance.h | |||
@@ -0,0 +1,26 @@ | |||
1 | #pragma once | ||
2 | #include "quantum.h" | ||
3 | |||
4 | #ifdef TAP_DANCE_ENABLE | ||
5 | |||
6 | #include "process_tap_dance.h" | ||
7 | |||
8 | //Tap Dance Declarations | ||
9 | enum { | ||
10 | COMM_QUOT = 0, | ||
11 | BACKSPACE, | ||
12 | DELETE, | ||
13 | DOT | ||
14 | }; | ||
15 | |||
16 | #define TD_COMM TD(COMM_QUOT) | ||
17 | #define TD_BSPC TD(BACKSPACE) | ||
18 | #define TD_DEL TD(DELETE) | ||
19 | #define TD_DOT TD(DOT) | ||
20 | |||
21 | #else | ||
22 | |||
23 | void run_tap_dance_double(uint8_t i); | ||
24 | bool process_tap_dance_double(uint16_t keycode, keyrecord_t *record); | ||
25 | |||
26 | #endif | ||