From f47c48b05f16a2fa74a0c0cf01a05773a06d0c51 Mon Sep 17 00:00:00 2001 From: precondition <57645186+precondition@users.noreply.github.com> Date: Sun, 1 Jan 2023 16:38:48 +0100 Subject: [PATCH] Remove `qk_` prefix in tap dance code See qmk/qmk_firmware#19313 --- tapdance.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tapdance.c b/tapdance.c index 8a64f55..f2cc3ad 100644 --- a/tapdance.c +++ b/tapdance.c @@ -1,7 +1,7 @@ #include QMK_KEYBOARD_H #include "precondition_keymap.h" -static void sentence_end(qk_tap_dance_state_t *state, void *user_data) { +static void sentence_end(tap_dance_state_t *state, void *user_data) { switch (state->count) { // Double tapping TD_DOT produces @@ -41,11 +41,11 @@ static void sentence_end(qk_tap_dance_state_t *state, void *user_data) { } }; -void sentence_end_finished (qk_tap_dance_state_t *state, void *user_data) { +void sentence_end_finished (tap_dance_state_t *state, void *user_data) { last_keycode = KC_DOT; } -qk_tap_dance_action_t tap_dance_actions[] = { +tap_dance_action_t tap_dance_actions[] = { [DOT_TD] = ACTION_TAP_DANCE_FN_ADVANCED(sentence_end, sentence_end_finished, NULL), };