diff options
Diffstat (limited to 'users/drashna/tap_dances.h')
| -rw-r--r-- | users/drashna/tap_dances.h | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/users/drashna/tap_dances.h b/users/drashna/tap_dances.h index 4a293b258..44fa0b934 100644 --- a/users/drashna/tap_dances.h +++ b/users/drashna/tap_dances.h | |||
| @@ -1,22 +1,30 @@ | |||
| 1 | #pragma once | 1 | #pragma once |
| 2 | #include "drashna.h" | 2 | #include "drashna.h" |
| 3 | 3 | ||
| 4 | //define diablo macro timer variables | 4 | // define diablo macro timer variables |
| 5 | extern uint8_t diablo_times[]; | 5 | extern uint8_t diablo_times[]; |
| 6 | typedef struct { | 6 | typedef struct { |
| 7 | uint16_t timer; | 7 | uint16_t timer; |
| 8 | uint8_t key_time; | 8 | uint8_t key_interval; |
| 9 | uint8_t keycode; | ||
| 9 | } diablo_timer_t; | 10 | } diablo_timer_t; |
| 10 | 11 | ||
| 11 | extern diablo_timer_t diablo_timer[4]; | 12 | typedef struct { |
| 13 | uint8_t index; | ||
| 14 | uint8_t keycode; | ||
| 15 | } diable_keys_t; | ||
| 16 | |||
| 17 | extern diablo_timer_t diablo_timer[]; | ||
| 12 | 18 | ||
| 13 | void run_diablo_macro_check(void); | 19 | void run_diablo_macro_check(void); |
| 14 | 20 | ||
| 15 | #ifdef TAP_DANCE_ENABLE | 21 | #ifdef TAP_DANCE_ENABLE |
| 22 | // clang-format off | ||
| 16 | enum { | 23 | enum { |
| 17 | TD_D3_1 = 0, | 24 | TD_D3_1 = 0, |
| 18 | TD_D3_2, | 25 | TD_D3_2, |
| 19 | TD_D3_3, | 26 | TD_D3_3, |
| 20 | TD_D3_4 | 27 | TD_D3_4 |
| 21 | }; | 28 | }; |
| 22 | #endif // TAP_DANCE_ENABLE | 29 | // clang-format on |
| 30 | #endif // TAP_DANCE_ENABLE | ||
