You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Felix Kuehling 4ae7525923
Bug17281 - Retain momentary layers until the end of tapping (#17282)
* Make process_tapping more readable

Move most #ifdefs into conditionally defined macros to make the logic
easier to follow.

* Retain momentary layers until the end of tapping

This allows mod-tap and layer-tap keys on layers to behave as expected.

Bug: https://github.com/qmk/qmk_firmware/issues/17281

* Add tests for delayed mod/layer release while tapping

Mods and layer key release is delayed while tapping is in progress to
ensure that the tap is registered with the modifier state and on the
layer where the key was first pressed.

Signed-off-by: Felix Kuehling <felix.kuehling@gmail.com>
3 years ago
..
config.h [Tests] Increase QMK test coverage take 2 (#15269) 4 years ago
test.mk [Tests] Increase QMK test coverage take 2 (#15269) 4 years ago
test_action_layer.cpp Don't clear keys on layer change unless STRICT_LAYER_RELEASE is enabled (#18577) 3 years ago
test_keypress.cpp [Core] Process all changed keys in one scan loop, deprecate `QMK_KEYS_PER_SCAN` (#15292) 3 years ago
test_one_shot_keys.cpp Fix and add unit tests for Caps Word to work with Unicode Map, Auto Shift, Retro Shift. (#17284) 4 years ago
test_tapping.cpp Bug17281 - Retain momentary layers until the end of tapping (#17282) 3 years ago