24 #define LEADER_MAX_SEQUENCE_LENGTH 4 26 #define LEAD(n) (Key) { .raw = kaleidoscope::ranges::LEAD_FIRST + n } 28 #define LEADER_SEQ(...) { __VA_ARGS__, Key_NoKey } 29 #define LEADER_DICT(...) { __VA_ARGS__, {{Key_NoKey}, NULL} } 44 void begin(
void)
final;
46 static void reset(
void);
53 static uint8_t sequence_pos_;
54 static uint32_t end_time_;
56 static Key eventHandlerHook(
Key mapped_key, byte
row, byte
col, uint8_t key_state);
57 static void loopHook(
bool is_post_clear);
58 static int8_t lookup(
void);
static void reset(void)
Definition: Leader.cpp:82
byte byte col
Definition: TapDance.cpp:229
void(* action_t)(uint8_t seq_index)
Definition: Leader.h:35
Definition: key_defs.h:13
static const dictionary_t * dictionary
Definition: Leader.h:42
static uint16_t time_out
Definition: Leader.h:47
#define LEADER_MAX_SEQUENCE_LENGTH
Definition: Leader.h:24
Definition: Kaleidoscope.h:40
byte row
Definition: TapDance.cpp:229
void inject(Key key, uint8_t key_state)
Definition: Leader.cpp:87
void begin(void) final
Definition: Leader.cpp:77
action_t action
Definition: Leader.h:38
Leader(void)
Definition: Leader.cpp:74