mirror of
https://github.com/qmk/qmk_userspace.git
synced 2025-05-29 10:30:09 -04:00
Tap Dance: remove qk_
prefix (#19313)
This commit is contained in:
parent
08bf316537
commit
b33d324a3d
3 changed files with 16 additions and 16 deletions
|
@ -59,7 +59,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||
};
|
||||
|
||||
|
||||
void dance_enc_finished(qk_tap_dance_state_t *state, void *user_data) {
|
||||
void dance_enc_finished(tap_dance_state_t *state, void *user_data) {
|
||||
if (state->count == 1) {
|
||||
register_code(KC_MPLY);
|
||||
} else if (state->count == 2) {
|
||||
|
@ -69,7 +69,7 @@ void dance_enc_finished(qk_tap_dance_state_t *state, void *user_data) {
|
|||
}
|
||||
}
|
||||
|
||||
void dance_enc_reset(qk_tap_dance_state_t *state, void *user_data) {
|
||||
void dance_enc_reset(tap_dance_state_t *state, void *user_data) {
|
||||
if (state->count == 1) {
|
||||
unregister_code(KC_MPLY);
|
||||
} else if (state->count == 2) {
|
||||
|
@ -80,7 +80,7 @@ void dance_enc_reset(qk_tap_dance_state_t *state, void *user_data) {
|
|||
}
|
||||
|
||||
// Tap Dance definitions
|
||||
qk_tap_dance_action_t tap_dance_actions[] = {
|
||||
tap_dance_action_t tap_dance_actions[] = {
|
||||
[ENC_TAP] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, dance_enc_finished, dance_enc_reset),
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue