summaryrefslogtreecommitdiff
path: root/keyboards/massdrop/alt/keymaps/jdelkins/keymap.c
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-12-15 07:40:25 +1100
committerGitHub <noreply@github.com>2022-12-14 12:40:25 -0800
commit1978007faefc0fb3af809ddf0d2ff1274e540570 (patch)
tree76e3d5ce69f8f4892602c5cfb6b54374642e7c55 /keyboards/massdrop/alt/keymaps/jdelkins/keymap.c
parent83e8e5845a7136ade68bad82c156c70c071f9bf7 (diff)
Tap Dance: remove `qk_` prefix (#19313)
Diffstat (limited to 'keyboards/massdrop/alt/keymaps/jdelkins/keymap.c')
-rw-r--r--keyboards/massdrop/alt/keymaps/jdelkins/keymap.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/keyboards/massdrop/alt/keymaps/jdelkins/keymap.c b/keyboards/massdrop/alt/keymaps/jdelkins/keymap.c
index d953b4fcfe..4c9a8860f4 100644
--- a/keyboards/massdrop/alt/keymaps/jdelkins/keymap.c
+++ b/keyboards/massdrop/alt/keymaps/jdelkins/keymap.c
@@ -42,7 +42,7 @@ enum alt_keycodes {
int ctl_state = 0;
-void ctl_finished(qk_tap_dance_state_t *state, void *user_data) {
+void ctl_finished(tap_dance_state_t *state, void *user_data) {
ctl_state = cur_dance(state);
switch(ctl_state) {
case SINGLE_TAP: leader_start(); break;
@@ -54,7 +54,7 @@ void ctl_finished(qk_tap_dance_state_t *state, void *user_data) {
}
}
-void ctl_reset(qk_tap_dance_state_t *state, void *user_data) {
+void ctl_reset(tap_dance_state_t *state, void *user_data) {
switch(ctl_state) {
case SINGLE_HOLD: unregister_code(KC_LCTL); break;
case DOUBLE_HOLD:
@@ -63,7 +63,7 @@ void ctl_reset(qk_tap_dance_state_t *state, void *user_data) {
ctl_state = 0;
}
-void g_finished(qk_tap_dance_state_t *state, void *user_data) {
+void g_finished(tap_dance_state_t *state, void *user_data) {
switch (cur_dance(state)) {
case SINGLE_TAP:
tap_code16(C(KC_END));
@@ -80,7 +80,7 @@ enum {
TD_G,
};
-qk_tap_dance_action_t tap_dance_actions[] = {
+tap_dance_action_t tap_dance_actions[] = {
[TD_LDCTL] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, ctl_finished, ctl_reset),
[TD_GUI] = ACTION_TAP_DANCE_DOUBLE(KC_LGUI, KC_RGUI),
[TD_G] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, g_finished, NULL),