diff options
Diffstat (limited to 'users/drashna/tap_dances.h')
| -rw-r--r-- | users/drashna/tap_dances.h | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/users/drashna/tap_dances.h b/users/drashna/tap_dances.h index 41d2bacb7..4a293b258 100644 --- a/users/drashna/tap_dances.h +++ b/users/drashna/tap_dances.h | |||
| @@ -2,18 +2,21 @@ | |||
| 2 | #include "drashna.h" | 2 | #include "drashna.h" |
| 3 | 3 | ||
| 4 | //define diablo macro timer variables | 4 | //define diablo macro timer variables |
| 5 | extern uint16_t diablo_timer[4]; | ||
| 6 | extern uint8_t diablo_times[]; | 5 | extern uint8_t diablo_times[]; |
| 7 | extern uint8_t diablo_key_time[4]; | 6 | typedef struct { |
| 7 | uint16_t timer; | ||
| 8 | uint8_t key_time; | ||
| 9 | } diablo_timer_t; | ||
| 8 | 10 | ||
| 11 | extern diablo_timer_t diablo_timer[4]; | ||
| 9 | 12 | ||
| 10 | void run_diablo_macro_check(void); | 13 | void run_diablo_macro_check(void); |
| 11 | 14 | ||
| 12 | #ifdef TAP_DANCE_ENABLE | 15 | #ifdef TAP_DANCE_ENABLE |
| 13 | enum { | 16 | enum { |
| 14 | TD_D3_1 = 0, | 17 | TD_D3_1 = 0, |
| 15 | TD_D3_2, | 18 | TD_D3_2, |
| 16 | TD_D3_3, | 19 | TD_D3_3, |
| 17 | TD_D3_4 | 20 | TD_D3_4 |
| 18 | }; | 21 | }; |
| 19 | #endif // TAP_DANCE_ENABLE | 22 | #endif // TAP_DANCE_ENABLE |
