diff options
author | Ryan <[email protected]> | 2023-02-13 03:19:02 +1100 |
---|---|---|
committer | GitHub <[email protected]> | 2023-02-13 03:19:02 +1100 |
commit | bbf7a20b33de2d203518687cb5cd1aa85005ea27 (patch) | |
tree | ee1a5c412a02021d085c81a26321c3424eca7022 /quantum/keyboard.c | |
parent | d10350cd2ceb2b9d80522cdec3ea908118f7fd35 (diff) | |
download | qmk_firmware-bbf7a20b33de2d203518687cb5cd1aa85005ea27.tar.gz qmk_firmware-bbf7a20b33de2d203518687cb5cd1aa85005ea27.zip |
Refactor Leader key feature (#19632)
Co-authored-by: Drashna Jaelre <[email protected]>
Diffstat (limited to 'quantum/keyboard.c')
-rw-r--r-- | quantum/keyboard.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/quantum/keyboard.c b/quantum/keyboard.c index 1de5f1cd0c..e8e3292dbc 100644 --- a/quantum/keyboard.c +++ b/quantum/keyboard.c @@ -105,6 +105,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #ifdef CAPS_WORD_ENABLE # include "caps_word.h" #endif +#ifdef LEADER_ENABLE +# include "leader.h" +#endif static uint32_t last_input_modification_time = 0; uint32_t last_input_activity_time(void) { @@ -546,6 +549,10 @@ void quantum_task(void) { combo_task(); #endif +#ifdef LEADER_ENABLE + leader_task(); +#endif + #ifdef WPM_ENABLE decay_wpm(); #endif |