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