diff options
author | Ryan <[email protected]> | 2022-12-15 07:40:25 +1100 |
---|---|---|
committer | GitHub <[email protected]> | 2022-12-14 12:40:25 -0800 |
commit | 1978007faefc0fb3af809ddf0d2ff1274e540570 (patch) | |
tree | 76e3d5ce69f8f4892602c5cfb6b54374642e7c55 /users/yet-another-developer/tap_dances.c | |
parent | 83e8e5845a7136ade68bad82c156c70c071f9bf7 (diff) | |
download | qmk_firmware-1978007faefc0fb3af809ddf0d2ff1274e540570.tar.gz qmk_firmware-1978007faefc0fb3af809ddf0d2ff1274e540570.zip |
Tap Dance: remove `qk_` prefix (#19313)
Diffstat (limited to 'users/yet-another-developer/tap_dances.c')
-rw-r--r-- | users/yet-another-developer/tap_dances.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/users/yet-another-developer/tap_dances.c b/users/yet-another-developer/tap_dances.c index 66dcc60fa5..cde0cb832e 100644 --- a/users/yet-another-developer/tap_dances.c +++ b/users/yet-another-developer/tap_dances.c @@ -1,6 +1,6 @@ #include "tap_dances.h" -void td_parenthesis (qk_tap_dance_state_t *state, void *user_data) { +void td_parenthesis (tap_dance_state_t *state, void *user_data) { if (state->count == 1) { // SEND_STRING ("\("); tap_code(KC_QUOT); @@ -24,7 +24,7 @@ void td_parenthesis (qk_tap_dance_state_t *state, void *user_data) { } } -void safe_reset(qk_tap_dance_state_t *state, void *user_data) { +void safe_reset(tap_dance_state_t *state, void *user_data) { if (state->count >= 3) { // Reset the keyboard if you tap the key more than three times reset_keyboard(); @@ -32,7 +32,7 @@ void safe_reset(qk_tap_dance_state_t *state, void *user_data) { } } -qk_tap_dance_action_t tap_dance_actions[] = { +tap_dance_action_t tap_dance_actions[] = { [TD_RESET] = ACTION_TAP_DANCE_FN(safe_reset), [TD_NUM1] = ACTION_TAP_DANCE_DOUBLE(KC_1, KC_4), [TD_NUM2] = ACTION_TAP_DANCE_DOUBLE(KC_2, KC_5), |