mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-04-10 07:45:41 +00:00
Update keyboards/skyloong/gk61/pro_ds/keymaps/via/keymap.c
OK, I agree with your advice. Co-authored-by: Daniel <1767914+iamdanielv@users.noreply.github.com>
This commit is contained in:
parent
51e2f09aa4
commit
60b49583ed
@ -226,7 +226,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
||||
return true; // continue all further processing of this key
|
||||
|
||||
case TD(_DN_MU):
|
||||
action = &tap_dance_actions[TD_INDEX(keycode)];
|
||||
action = &tap_dance_actions[QK_TAP_DANCE_GET_INDEX(keycode)];
|
||||
if (!record->event.pressed && action->state.count && !action->state.finished) {
|
||||
tap_dance_tap_hold_t *tap_hold = (tap_dance_tap_hold_t *)action->user_data;
|
||||
tap_code16(tap_hold->tap);
|
||||
|
Loading…
Reference in New Issue
Block a user