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 Move `API_SYSEX_MAX_SIZE` out of `config_common.h` (#12302) 2021-03-25 22:30:42 +11:00
audio Fix F303 audio output on A4 with the dac_basic driver (#12480) 2021-04-19 00:32:14 -07:00
backlight Audio system overhaul (#11820) 2021-02-15 09:40:38 +11:00
debounce
keymap_extras Merge remote-tracking branch 'origin/master' into develop 2021-01-13 04:53:32 +00:00
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 fix line endings 2021-04-03 08:27:46 -07:00
rgb_matrix_runners
sequencer
serial_link
split_common Format code according to conventions (#11928) 2021-02-16 11:33:03 +11:00
template
tools
visualizer
api.c
api.h
bitwise.c Migrate some tmk_core files to quantum (#11791) 2021-02-07 23:16:15 +00:00
bitwise.h Migrate some tmk_core files to quantum (#11791) 2021-02-07 23:16:15 +00:00
color.c
color.h
command.c Merge remote-tracking branch 'origin/master' into develop 2021-02-07 23:16:47 +00:00
command.h Migrate some tmk_core files to quantum (#11791) 2021-02-07 23:16:15 +00:00
config_common.h Move `API_SYSEX_MAX_SIZE` out of `config_common.h` (#12302) 2021-03-25 22:30:42 +11:00
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 Migrate some tmk_core files to quantum (#11791) 2021-02-07 23:16:15 +00:00
led_matrix.c LED Matrix: rename `LED_DRIVER_LED_COUNT` to `DRIVER_LED_TOTAL` (#11858) 2021-02-15 11:55:13 +11:00
led_matrix.h LED Matrix: add led_matrix_types.h and implement g_led_config (#11741) 2021-02-14 12:15:08 +11:00
led_matrix_drivers.c LED Matrix: rename `LED_DRIVER_LED_COUNT` to `DRIVER_LED_TOTAL` (#11858) 2021-02-15 11:55:13 +11:00
led_matrix_types.h LED Matrix: rename `LED_DRIVER_LED_COUNT` to `DRIVER_LED_TOTAL` (#11858) 2021-02-15 11:55:13 +11:00
led_tables.c
led_tables.h
matrix.c
matrix.h Merge remote-tracking branch 'origin/master' into develop 2021-02-07 23:16:47 +00:00
matrix_common.c Remove legacy print backward compatiblitly (#11805) 2021-02-06 16:56:13 +00:00
mcu_selection.mk Merge remote-tracking branch 'upstream/master' into develop 2021-02-25 16:04:53 +11:00
mousekey.c Fix Kinetic speed condition (#12139) 2021-03-25 23:11:16 +11:00
mousekey.h Migrate mousekey to quantum (#11804) 2021-02-07 13:56:08 +00:00
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 Remove hex_to_keycode and move tap_random_base64 to send_string.c (#12079) 2021-03-12 18:03:44 +11:00
quantum_keycodes.h Format code according to conventions (#12244) 2021-03-15 12:21:14 +11:00
rgb.h
rgb_matrix.c Split transport mirror (#11046) 2021-02-16 11:30:33 +11:00
rgb_matrix.h Split transport mirror (#11046) 2021-02-16 11:30:33 +11:00
rgb_matrix_drivers.c
rgb_matrix_types.h LED Matrix: add led_matrix_types.h and implement g_led_config (#11741) 2021-02-14 12:15:08 +11:00
rgblight.c Removed unused RGBLED_TIMER_TOP and F_CPU macros from quantum/rgblight.[ch] (#12233) 2021-03-25 23:05:38 +11:00
rgblight.h Removed unused RGBLED_TIMER_TOP and F_CPU macros from quantum/rgblight.[ch] (#12233) 2021-03-25 23:05:38 +11:00
rgblight_breathe_table.h
rgblight_list.h
rgblight_modes.h
rgblight_post_config.h
ring_buffer.h Migrate some tmk_core files to quantum (#11791) 2021-02-07 23:16:15 +00:00
send_string.c Remove hex_to_keycode and move tap_random_base64 to send_string.c (#12079) 2021-03-12 18:03:44 +11:00
send_string.h Remove hex_to_keycode and move tap_random_base64 to send_string.c (#12079) 2021-03-12 18:03:44 +11:00
send_string_keycodes.h Workaround for recent changes to mouse keycodes (#12367) 2021-03-24 19:38:35 +00:00
util.h Migrate some tmk_core files to quantum (#11791) 2021-02-07 23:16:15 +00:00
variable_trace.c
variable_trace.h
velocikey.c
velocikey.h
via.c Fix keycode mappings for via and ensure they don't change within protocol (#12130) 2021-03-15 12:19:01 +11:00
via.h
via_ensure_keycode.h Fix keycode mappings for via and ensure they don't change within protocol (#12130) 2021-03-15 12:19:01 +11:00
wpm.c
wpm.h