qmk_firmware/tests/basic
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>
2022-11-28 09:16:38 +01:00
..
config.h [Tests] Increase QMK test coverage take 2 (#15269) 2021-11-23 13:31:01 +11:00
test.mk [Tests] Increase QMK test coverage take 2 (#15269) 2021-11-23 13:31:01 +11:00
test_action_layer.cpp Don't clear keys on layer change unless STRICT_LAYER_RELEASE is enabled (#18577) 2022-11-12 02:11:50 +00:00
test_keypress.cpp [Core] Process all changed keys in one scan loop, deprecate `QMK_KEYS_PER_SCAN` (#15292) 2022-08-06 20:51:13 +10:00
test_one_shot_keys.cpp Fix and add unit tests for Caps Word to work with Unicode Map, Auto Shift, Retro Shift. (#17284) 2022-06-05 09:14:02 +02:00
test_tapping.cpp Bug17281 - Retain momentary layers until the end of tapping (#17282) 2022-11-28 09:16:38 +01:00