summaryrefslogtreecommitdiffstats
path: root/quantum/process_keycode/process_leader.h
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/process_keycode/process_leader.h')
-rw-r--r--quantum/process_keycode/process_leader.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/quantum/process_keycode/process_leader.h b/quantum/process_keycode/process_leader.h
index da7a3d2ef7..59c3eed1be 100644
--- a/quantum/process_keycode/process_leader.h
+++ b/quantum/process_keycode/process_leader.h
@@ -19,14 +19,13 @@
#include "quantum.h"
+
bool process_leader(uint16_t keycode, keyrecord_t *record);
void leader_start(void);
void leader_end(void);
-#ifndef LEADER_TIMEOUT
- #define LEADER_TIMEOUT 200
-#endif
+
#define SEQ_ONE_KEY(key) if (leader_sequence[0] == (key) && leader_sequence[1] == 0 && leader_sequence[2] == 0 && leader_sequence[3] == 0 && leader_sequence[4] == 0)
#define SEQ_TWO_KEYS(key1, key2) if (leader_sequence[0] == (key1) && leader_sequence[1] == (key2) && leader_sequence[2] == 0 && leader_sequence[3] == 0 && leader_sequence[4] == 0)
#define SEQ_THREE_KEYS(key1, key2, key3) if (leader_sequence[0] == (key1) && leader_sequence[1] == (key2) && leader_sequence[2] == (key3) && leader_sequence[3] == 0 && leader_sequence[4] == 0)