Tap Dance: remove qk_
prefix (#19313)
This commit is contained in:
@@ -155,7 +155,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
)
|
||||
};
|
||||
|
||||
void tap_esc_func_finished(qk_tap_dance_state_t *state, void *user_data) {
|
||||
void tap_esc_func_finished(tap_dance_state_t *state, void *user_data) {
|
||||
if (state->pressed) {
|
||||
layer_on(FUNC);
|
||||
} else {
|
||||
@@ -163,11 +163,11 @@ void tap_esc_func_finished(qk_tap_dance_state_t *state, void *user_data) {
|
||||
}
|
||||
}
|
||||
|
||||
void tap_esc_func_reset(qk_tap_dance_state_t *state, void *user_data) {
|
||||
void tap_esc_func_reset(tap_dance_state_t *state, void *user_data) {
|
||||
layer_off(FUNC);
|
||||
}
|
||||
|
||||
qk_tap_dance_action_t tap_dance_actions[] = {
|
||||
tap_dance_action_t tap_dance_actions[] = {
|
||||
[TD_ESC_FUNC] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, tap_esc_func_finished, tap_esc_func_reset),
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user