QMK/keyboards/betalupi_ergodox/keymaps/default/tapdance/tapdance.h

22 lines
438 B
C

#pragma once
#include "keymap.h"
enum tap_dance_codes {
TD_WMLAYOUT,
};
enum {
SINGLE_TAP = 1,
SINGLE_HOLD,
DOUBLE_TAP,
DOUBLE_HOLD,
DOUBLE_SINGLE_TAP,
MORE_TAPS
};
uint8_t dance_step(qk_tap_dance_state_t *state);
void td_wmlayout_dance(qk_tap_dance_state_t *state, void *user_data);
void td_wmlayout_finished(qk_tap_dance_state_t *state, void *user_data);
void td_wmlayout_reset(qk_tap_dance_state_t *state, void *user_data);