diff --git a/keymaps/default/tapdance/wmlayout.c b/keymaps/default/tapdance/wmlayout.c index 2f6c863..3ee87b1 100644 --- a/keymaps/default/tapdance/wmlayout.c +++ b/keymaps/default/tapdance/wmlayout.c @@ -8,6 +8,7 @@ typedef struct { static tap dance_state[1]; +// Called on every tap void td_wmlayout_dance(qk_tap_dance_state_t *state, void *user_data) { if(state->count == 3) { tap_code16(LGUI(KC_L)); @@ -19,6 +20,7 @@ void td_wmlayout_dance(qk_tap_dance_state_t *state, void *user_data) { } } +// Called when action finishes void td_wmlayout_finished(qk_tap_dance_state_t *state, void *user_data) { dance_state[0].step = dance_step(state); switch (dance_state[0].step) { @@ -35,6 +37,7 @@ void td_wmlayout_finished(qk_tap_dance_state_t *state, void *user_data) { } } +// Called when action resets void td_wmlayout_reset(qk_tap_dance_state_t *state, void *user_data) { wait_ms(10); switch (dance_state[0].step) {