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

22 lines
438 B
C
Raw Normal View History

2022-02-06 19:47:50 -08:00
#pragma once
#include "keymap.h"
enum tap_dance_codes {
TD_WMLAYOUT,
};
2022-02-06 19:47:50 -08:00
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);