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