2018-12-04 21:27:41 +00:00
|
|
|
#pragma once
|
|
|
|
#include "drashna.h"
|
|
|
|
|
2019-07-23 03:22:33 +00:00
|
|
|
// define diablo macro timer variables
|
2018-06-01 05:11:06 +00:00
|
|
|
extern uint8_t diablo_times[];
|
2019-05-07 05:34:09 +00:00
|
|
|
typedef struct {
|
|
|
|
uint16_t timer;
|
2019-07-23 03:22:33 +00:00
|
|
|
uint8_t key_interval;
|
|
|
|
uint8_t keycode;
|
2019-05-07 05:34:09 +00:00
|
|
|
} diablo_timer_t;
|
2018-06-01 05:11:06 +00:00
|
|
|
|
2019-07-23 03:22:33 +00:00
|
|
|
typedef struct {
|
|
|
|
uint8_t index;
|
|
|
|
uint8_t keycode;
|
|
|
|
} diable_keys_t;
|
|
|
|
|
|
|
|
extern diablo_timer_t diablo_timer[];
|
2018-06-01 05:11:06 +00:00
|
|
|
|
|
|
|
void run_diablo_macro_check(void);
|
2018-12-04 21:27:41 +00:00
|
|
|
|
|
|
|
#ifdef TAP_DANCE_ENABLE
|
2019-07-23 03:22:33 +00:00
|
|
|
// clang-format off
|
2018-12-04 21:27:41 +00:00
|
|
|
enum {
|
2019-05-07 05:34:09 +00:00
|
|
|
TD_D3_1 = 0,
|
|
|
|
TD_D3_2,
|
|
|
|
TD_D3_3,
|
|
|
|
TD_D3_4
|
2018-12-04 21:27:41 +00:00
|
|
|
};
|
2019-07-23 03:22:33 +00:00
|
|
|
// clang-format on
|
|
|
|
#endif // TAP_DANCE_ENABLE
|