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 Enforce memory allocator for ChibiOS builds with allocating debounce algorithms (#11630) 2021-01-29 20:13:56 -08:00
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 2020 November 28 Breaking Changes Update (#11053) 2020-11-28 12:02:18 -08:00
sequencer 2020 November 28 Breaking Changes Update (#11053) 2020-11-28 12:02:18 -08:00
serial_link Ensure single newline at EOF for core files (#11310) 2020-12-28 04:36:32 +11:00
split_common Format code according to conventions (#11928) 2021-02-16 11:33:03 +11:00
template Recommend use of LED Indicator config (#10895) 2020-11-16 14:16:42 +11:00
tools Backlight abstraction and other changes (#439) 2016-06-23 22:18:20 -04:00
visualizer Change include guards in quantum/ to pragma once (#11239) 2020-12-26 15:53:12 +11:00
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 Migrate some tmk_core files to quantum (#11791) 2021-02-07 23:16:15 +00:00
color.c Add support for hsv->rgb conversion without using CIE curve. (#9856) 2020-08-29 14:30:02 -07:00
color.h Add BGR byte order for WS2812 drivers (#11562) 2021-01-16 08:42:30 +11:00
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 Removed #include "matrix.h" from debounce.h 2019-01-26 22:44:33 +11:00
dip_switch.c format code according to conventions [skip ci] 2020-07-04 15:01:25 +00:00
dip_switch.h Add Dip Switch as a core feature (#6140) 2019-09-03 08:34:31 -07:00
dynamic_keymap.c Adds AT90USB162 support (#11570) 2021-01-29 19:53:56 -08:00
dynamic_keymap.h clang-format changes 2019-08-30 15:01:52 -07:00
dynamic_macro.h [Core] Convert Dynamic Macro to a Core Feature (#5948) 2019-11-04 22:59:13 -08:00
encoder.c Keep track of encoder activity (#11595) 2021-01-21 22:24:07 +11:00
encoder.h Keep track of encoder activity (#11595) 2021-01-21 22:24:07 +11:00
joystick.c Hid joystick interface (#4226) 2020-08-29 14:30:02 -07:00
joystick.h 2020 November 28 Breaking Changes Update (#11053) 2020-11-28 12:02:18 -08:00
keycode_config.c clang-format changes 2019-08-30 15:01:52 -07:00
keycode_config.h Change include guards in quantum/ to pragma once (#11239) 2020-12-26 15:53:12 +11:00
keymap.h Change include guards in quantum/ to pragma once (#11239) 2020-12-26 15:53:12 +11:00
keymap_common.c Strip out features to allow minimum firmware sizes (#8645) 2020-04-01 21:06:22 +01:00
led.c Ensure single newline at EOF for core files (#11310) 2020-12-28 04:36:32 +11:00
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 Remove unused LED_BREATHING_TABLE 2020-03-06 22:29:01 -08:00
led_tables.h Change include guards in quantum/ to pragma once (#11239) 2020-12-26 15:53:12 +11:00
matrix.c fix matrix_io_delay() timing in quantum/matrix.c (#9603) 2021-01-13 12:46:22 +11:00
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 Manually run formatting job (#11797) 2021-02-05 13:27:24 +00:00
pointing_device.h Improve Pointing Device report sending (#11064) 2021-02-03 17:25:05 -08:00
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 Change include guards in quantum/ to pragma once (#11239) 2020-12-26 15:53:12 +11:00
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 Add support for 4 IS31FL3731 devices (#10860) 2020-11-05 19:58:46 +00:00
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 CLI-ify rgblight_breathing_table_calc.c (#11174) 2020-12-16 14:24:42 +11:00
rgblight_list.h Add definitions for RGB off/black. (#11132) 2020-12-06 17:10:58 +11:00
rgblight_modes.h New RGB Lighting effect: Twinkle (#8887) 2020-05-09 01:56:16 -07:00
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 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 clang-format changes 2019-08-30 15:01:52 -07:00
variable_trace.h Change include guards in quantum/ to pragma once (#11239) 2020-12-26 15:53:12 +11:00
velocikey.c clang-format changes 2019-08-30 15:01:52 -07:00
velocikey.h Change include guards in quantum/ to pragma once (#11239) 2020-12-26 15:53:12 +11:00
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 Normalise include statements in core code (#11153) 2020-12-11 13:45:24 +11:00
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 Run clang-format manually to fix recently changed files (#8552) 2020-03-25 14:39:53 +11:00
wpm.h Run clang-format manually to fix recently changed files (#8552) 2020-03-25 14:39:53 +11:00