qmk_firmware/quantum/process_keycode
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
..
process_audio.c
process_audio.h Change include guards in quantum/ to pragma once (#11239) 2020-12-26 15:53:12 +11:00
process_auto_shift.c Fix issues when manually shifting characters and Auto Shift (#12083) 2021-03-25 23:41:19 +11:00
process_auto_shift.h 2020 November 28 Breaking Changes Update (#11053) 2020-11-28 12:02:18 -08:00
process_backlight.c
process_backlight.h
process_clicky.c
process_clicky.h Change include guards in quantum/ to pragma once (#11239) 2020-12-26 15:53:12 +11:00
process_combo.c
process_combo.h Change include guards in quantum/ to pragma once (#11239) 2020-12-26 15:53:12 +11:00
process_dynamic_macro.c
process_dynamic_macro.h
process_grave_esc.c
process_grave_esc.h
process_joystick.c 2020 November 28 Breaking Changes Update (#11053) 2020-11-28 12:02:18 -08:00
process_joystick.h
process_key_lock.c Normalise include statements in core code (#11153) 2020-12-11 13:45:24 +11:00
process_key_lock.h Change include guards in quantum/ to pragma once (#11239) 2020-12-26 15:53:12 +11:00
process_leader.c
process_leader.h Change include guards in quantum/ to pragma once (#11239) 2020-12-26 15:53:12 +11:00
process_magic.c
process_magic.h
process_midi.c Fix handling multiples of the same MIDI note (fixes bug brought up in issue #10199) (#11639) 2021-03-25 22:51:57 +11:00
process_midi.h Change include guards in quantum/ to pragma once (#11239) 2020-12-26 15:53:12 +11:00
process_music.c Fix wrong key when "Music Map" is used with MAJOR_MODE. (#11234) 2021-01-19 18:08:06 -08:00
process_music.h Change include guards in quantum/ to pragma once (#11239) 2020-12-26 15:53:12 +11:00
process_printer.c
process_printer.h Change include guards in quantum/ to pragma once (#11239) 2020-12-26 15:53:12 +11:00
process_printer_bb.c
process_rgb.c Fix issue introduced by PR#10404 (#10559) 2020-10-07 13:30:43 +11:00
process_rgb.h
process_sequencer.c 2020 November 28 Breaking Changes Update (#11053) 2020-11-28 12:02:18 -08:00
process_sequencer.h 2020 November 28 Breaking Changes Update (#11053) 2020-11-28 12:02:18 -08:00
process_space_cadet.c Fix Tap-Hold Configs (#11127) 2021-01-04 16:37:20 -08:00
process_space_cadet.h Fix Tap-Hold Configs (#11127) 2021-01-04 16:37:20 -08:00
process_steno.c
process_steno.h Change include guards in quantum/ to pragma once (#11239) 2020-12-26 15:53:12 +11:00
process_tap_dance.c Do not leak weak mods from tap dance to the interrupting keypress (#12471) 2021-04-25 13:41:37 +10:00
process_tap_dance.h Change include guards in quantum/ to pragma once (#11239) 2020-12-26 15:53:12 +11:00
process_terminal.c
process_terminal.h Change include guards in quantum/ to pragma once (#11239) 2020-12-26 15:53:12 +11:00
process_terminal_nop.h Change include guards in quantum/ to pragma once (#11239) 2020-12-26 15:53:12 +11:00
process_ucis.c
process_ucis.h
process_unicode.c
process_unicode.h
process_unicode_common.c Remove hex_to_keycode and move tap_random_base64 to send_string.c (#12079) 2021-03-12 18:03:44 +11:00
process_unicode_common.h Fix Issue #9533 - Delayed shift state handling (#11220) 2020-12-22 18:23:09 +01:00
process_unicodemap.c Fix Issue #9533 - Delayed shift state handling (#11220) 2020-12-22 18:23:09 +01:00
process_unicodemap.h