qmk_firmware/quantum
Sergey Vlasov da6e888a32
Do not leak weak mods from tap dance to the interrupting keypress (#12471)
Tap dance callbacks may register weak mods; one case when it happens
is when a tap dance registers a key with modifiers.  When the tap
dance is interrupted by pressing another key, these weak mods could
affect the interrupting key (normally any stale weak mods are cleared
at the start of action_exec() when handling a keypress event, but the
tap dance interrupt check code is called later, and the weak mods left
by that code were not cleared).  Add another clear_weak_mods() call to
preprocess_tap_dance() to make sure that the interrupting keypress is
not affected by unrelated weak mods from the previous tap dance.

Fixes #12445.
2021-04-25 13:41:37 +10:00
..
api
audio
backlight
debounce
keymap_extras
process_keycode Do not leak weak mods from tap dance to the interrupting keypress (#12471) 2021-04-25 13:41:37 +10:00
rgb_matrix_animations
rgb_matrix_runners
sequencer
serial_link
split_common
template
tools
visualizer
api.c clang-format changes 2019-08-30 15:01:52 -07:00
api.h Change include guards in quantum/ to pragma once (#11239) 2020-12-26 15:53:12 +11:00
bitwise.c Migrate some tmk_core files to quantum (#11791) 2021-02-07 23:16:15 +00:00
bitwise.h
color.c
color.h
command.c
command.h
config_common.h
debounce.h
dip_switch.c
dip_switch.h
dynamic_keymap.c
dynamic_keymap.h
dynamic_macro.h
encoder.c
encoder.h
joystick.c
joystick.h
keycode_config.c
keycode_config.h
keymap.h
keymap_common.c
led.c
led.h
led_matrix.c
led_matrix.h
led_matrix_drivers.c
led_matrix_types.h
led_tables.c Remove unused LED_BREATHING_TABLE 2020-03-06 22:29:01 -08:00
led_tables.h
matrix.c
matrix.h
matrix_common.c
mcu_selection.mk
mousekey.c
mousekey.h
pointing_device.c
pointing_device.h
quantum.c Remove hex_to_keycode and move tap_random_base64 to send_string.c (#12079) 2021-03-12 18:03:44 +11:00
quantum.h
quantum_keycodes.h
rgb.h Change include guards in quantum/ to pragma once (#11239) 2020-12-26 15:53:12 +11:00
rgb_matrix.c
rgb_matrix.h
rgb_matrix_drivers.c
rgb_matrix_types.h
rgblight.c
rgblight.h
rgblight_breathe_table.h
rgblight_list.h
rgblight_modes.h
rgblight_post_config.h clang-format changes 2019-08-30 15:01:52 -07:00
ring_buffer.h Migrate some tmk_core files to quantum (#11791) 2021-02-07 23:16:15 +00:00
send_string.c
send_string.h
send_string_keycodes.h Workaround for recent changes to mouse keycodes (#12367) 2021-03-24 19:38:35 +00:00
util.h
variable_trace.c
variable_trace.h
velocikey.c
velocikey.h
via.c
via.h Normalise include statements in core code (#11153) 2020-12-11 13:45:24 +11:00
via_ensure_keycode.h
wpm.c
wpm.h