]> git.donarmstrong.com Git - qmk_firmware.git/blob - users/drashna/tap_dances.h
[Keymap] Drashna's Feature madness (#6128)
[qmk_firmware.git] / users / drashna / tap_dances.h
1 #pragma once
2 #include "drashna.h"
3
4 // define diablo macro timer variables
5 extern uint8_t diablo_times[];
6 typedef struct {
7     uint16_t timer;
8     uint8_t  key_interval;
9     uint8_t  keycode;
10 } diablo_timer_t;
11
12 typedef struct {
13     uint8_t index;
14     uint8_t keycode;
15 } diable_keys_t;
16
17 extern diablo_timer_t diablo_timer[];
18
19 void run_diablo_macro_check(void);
20
21 #ifdef TAP_DANCE_ENABLE
22 // clang-format off
23 enum {
24     TD_D3_1 = 0,
25     TD_D3_2,
26     TD_D3_3,
27     TD_D3_4
28 };
29 // clang-format on
30 #endif  // TAP_DANCE_ENABLE