1
0
Fork 0

Tap Dance: remove qk_ prefix (#19313)

This commit is contained in:
Ryan 2022-12-15 07:40:25 +11:00 committed by GitHub
parent 83e8e5845a
commit 1978007fae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
298 changed files with 1327 additions and 1327 deletions

View file

@ -22,7 +22,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifdef TD_LSFT_CAPSLOCK_ENABLE
// Tap once for shift, twice for Caps Lock but only if Win Key in not disabled
void dance_LSFT_finished(qk_tap_dance_state_t *state, void *user_data) {
void dance_LSFT_finished(tap_dance_state_t *state, void *user_data) {
if (state->count == 1 || keymap_config.no_gui) {
register_code16(KC_LSFT);
} else {
@ -30,7 +30,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
}
}
void dance_LSFT_reset(qk_tap_dance_state_t *state, void *user_data) {
void dance_LSFT_reset(tap_dance_state_t *state, void *user_data) {
if (state->count == 1 || keymap_config.no_gui) {
unregister_code16(KC_LSFT);
} else {
@ -38,7 +38,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
}
}
qk_tap_dance_action_t tap_dance_actions[] = {
tap_dance_action_t tap_dance_actions[] = {
// Tap once for shift, twice for Caps Lock
[TD_LSFT_CAPSLOCK] = ACTION_TAP_DANCE_DOUBLE(KC_LSFT, KC_CAPS),
[TD_LSFT_CAPS_WIN] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, dance_LSFT_finished, dance_LSFT_reset),