summaryrefslogtreecommitdiff
path: root/users/konstantin
diff options
context:
space:
mode:
authorKonstantin Đorđević <vomindoraan@gmail.com>2019-02-18 05:26:54 +0100
committerKonstantin Đorđević <vomindoraan@gmail.com>2019-03-02 15:15:58 +0100
commit1b3b9414b75e78db14daf61475c54007e8e5e0b9 (patch)
treeca11e0f5cfd83eae47daeca15af8e4d310ad31e7 /users/konstantin
parent45dddfa6c27123ec6b598d561d3c3859882ccbad (diff)
downloadqmk_firmware-1b3b9414b75e78db14daf61475c54007e8e5e0b9.tar.gz
qmk_firmware-1b3b9414b75e78db14daf61475c54007e8e5e0b9.zip
Update tap dance function names
Diffstat (limited to 'users/konstantin')
-rw-r--r--users/konstantin/tap_dance.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/users/konstantin/tap_dance.c b/users/konstantin/tap_dance.c
index dffaeb2066..cdf7b731c5 100644
--- a/users/konstantin/tap_dance.c
+++ b/users/konstantin/tap_dance.c
@@ -60,7 +60,7 @@ void td_fn_rctrl_reset(qk_tap_dance_state_t *state, void *user_data) {
td_fn_rctrl_data.started = false;
}
-void td_lsft_fn_each(qk_tap_dance_state_t *state, void *user_data) {
+void td_lshift_fn_each(qk_tap_dance_state_t *state, void *user_data) {
// Single tap → LShift, double tap → Fn, triple tap etc. → Fn+LShift
if (state->count == 1 || state->count == 3) {
register_code(KC_LSFT);
@@ -72,7 +72,7 @@ void td_lsft_fn_each(qk_tap_dance_state_t *state, void *user_data) {
}
}
-void td_lsft_fn_reset(qk_tap_dance_state_t *state, void *user_data) {
+void td_lshift_fn_reset(qk_tap_dance_state_t *state, void *user_data) {
if (state->count == 1 || state->count >= 3) {
unregister_code(KC_LSFT);
}
@@ -88,6 +88,6 @@ qk_tap_dance_action_t tap_dance_actions[] = {
[TD_RAL_RGU] = ACTION_TAP_DANCE_DOUBLE_MODS(KC_RALT, KC_RGUI),
[TD_RCT_RSF] = ACTION_TAP_DANCE_DOUBLE_MODS(KC_RCTL, KC_RSFT),
- [TD_FN_RCTL] = ACTION_TAP_DANCE_FN_ADVANCED(td_fn_rctrl_each, NULL, td_fn_rctrl_reset),
- [TD_LSFT_FN] = ACTION_TAP_DANCE_FN_ADVANCED(td_lsft_fn_each, NULL, td_lsft_fn_reset),
+ [TD_FN_RCTL] = ACTION_TAP_DANCE_FN_ADVANCED(td_fn_rctrl_each, NULL, td_fn_rctrl_reset),
+ [TD_LSFT_FN] = ACTION_TAP_DANCE_FN_ADVANCED(td_lshift_fn_each, NULL, td_lshift_fn_reset),
};