aboutsummaryrefslogtreecommitdiff
path: root/users/drashna/tap_dances.h
diff options
context:
space:
mode:
Diffstat (limited to 'users/drashna/tap_dances.h')
-rw-r--r--users/drashna/tap_dances.h16
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
5extern uint8_t diablo_times[]; 5extern uint8_t diablo_times[];
6typedef struct { 6typedef 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
11extern diablo_timer_t diablo_timer[4]; 12typedef struct {
13 uint8_t index;
14 uint8_t keycode;
15} diable_keys_t;
16
17extern diablo_timer_t diablo_timer[];
12 18
13void run_diablo_macro_check(void); 19void run_diablo_macro_check(void);
14 20
15#ifdef TAP_DANCE_ENABLE 21#ifdef TAP_DANCE_ENABLE
22// clang-format off
16enum { 23enum {
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