summaryrefslogtreecommitdiff
path: root/keyboards/ergodox_ez/keymaps/hacker_dvorak/leader/leader_setup.c
blob: 1e89c4bfca301de5f659418bbcb424aeb19ceb8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
LEADER_EXTERNS();

void qk_leader_start(void) {
    if (!leading) {
        leading = true;
        leader_time = timer_read();
        leader_sequence_size = 0;
        leader_sequence[0] = 0;
        leader_sequence[1] = 0;
        leader_sequence[2] = 0;
        leader_sequence[3] = 0;
        leader_sequence[4] = 0;
    }
}