qmk_firmware/quantum
Felix Kuehling 4ae7525923
Bug17281 - Retain momentary layers until the end of tapping ()
* 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
..
audio
backlight [Core] PWM Backlight for RP2040 () 2022-10-04 23:10:24 +02:00
bootmagic
debounce
encoder/tests Only trigger encoder callbacks on primary side () 2022-11-14 02:51:19 +11:00
keymap_extras Relocate US ANSI shifted keycode aliases () 2022-10-07 23:36:38 +01:00
led_matrix Change `LED_MATRIX_STARTUP_*` defines to `LED_MATRIX_DEFAULT_*` () 2022-11-27 03:14:35 +11:00
logging
painter [QP] Add RGB565 surface. Docs clarification, cleanup, tabsification, and reordering. () 2022-09-19 07:30:08 +10:00
pointing_device Fix jump in report value when scale changes during cirque get report () 2022-11-09 09:48:46 -08:00
process_keycode Align haptic feedback keycode names () 2022-11-07 02:43:53 +00:00
rgb_matrix Change `RGB_MATRIX_STARTUP_*` defines to `RGB_MATRIX_DEFAULT_*` () 2022-11-27 04:18:24 +11:00
rgblight Avoid repeated calls to rgblight_set() in tight succession when setting lighting layers () 2022-11-10 20:27:40 +11:00
send_string Reduce includes for send_string header () 2022-11-05 21:45:40 +11:00
sequencer Normalise MIDI keycodes () 2022-11-07 02:26:15 +00:00
split_common Implement split comms watchdog () 2022-10-06 20:52:42 +11:00
unicode Normalise Unicode keycodes () 2022-10-31 21:15:12 +00:00
wear_leveling
action.c Programmable Button API refactor and improve docs () 2022-10-15 14:33:24 +11:00
action.h [Bug] Add key event check to `is_tap_record` and remove `is_tap_key` () 2022-08-15 16:40:51 +02:00
action_code.h Initial DD keycode migration () 2022-11-05 10:30:09 +00:00
action_layer.c Don't clear keys on layer change unless STRICT_LAYER_RELEASE is enabled () 2022-11-12 02:11:50 +00:00
action_layer.h
action_tapping.c Bug17281 - Retain momentary layers until the end of tapping () 2022-11-28 09:16:38 +01:00
action_tapping.h Add missing prototype for get_hold_on_other_key_press to resolve () 2022-11-14 03:34:59 +11:00
action_util.c
action_util.h
bitwise.c
bitwise.h
caps_word.c Reduce includes for caps_word header () 2022-11-03 23:42:58 +00:00
caps_word.h Reduce includes for caps_word header () 2022-11-03 23:42:58 +00:00
color.c
color.h
command.c
command.h Remove legacy keycode use from command () 2022-08-12 03:03:36 +01:00
config_common.h Remove quantum/audio from global VPATH () 2022-10-20 14:41:45 +01:00
crc.c Reduce includes for crc header () 2022-11-03 21:36:58 +00:00
crc.h Reduce includes for crc header () 2022-11-03 21:36:58 +00:00
debounce.h
deferred_exec.c
deferred_exec.h
digitizer.c Digitizer feature improvements () 2022-11-12 23:28:11 +00:00
digitizer.h Digitizer feature improvements () 2022-11-12 23:28:11 +00:00
dip_switch.c Reduce includes for dip_switch header () 2022-11-04 11:54:35 +00:00
dip_switch.h Reduce includes for dip_switch header () 2022-11-04 11:54:35 +00:00
dynamic_keymap.c VIA V3 - The Custom UI Update () 2022-11-10 07:46:44 +11:00
dynamic_keymap.h VIA V3 - The Custom UI Update () 2022-11-10 07:46:44 +11:00
dynamic_macro.h Normalise Dynamic Macro keycodes () 2022-11-03 23:01:06 +00:00
eeconfig.c Extend eeconfig kb/user datablock API () 2022-11-16 18:06:49 +11:00
eeconfig.h Extend eeconfig kb/user datablock API () 2022-11-16 18:06:49 +11:00
encoder.c Only trigger encoder callbacks on primary side () 2022-11-14 02:51:19 +11:00
encoder.h Use a macro to compute the size of arrays at compile time () 2022-08-30 10:20:04 +02:00
haptic.c
haptic.h
joystick.c Joystick feature improvements () 2022-11-27 03:14:45 +11:00
joystick.h Joystick feature improvements () 2022-11-27 03:14:45 +11:00
keyboard.c Fix encoder_init call order in keyboard_init () 2022-11-27 10:07:35 +11:00
keyboard.h
keycode.h Initial DD keycode migration () 2022-11-05 10:30:09 +00:00
keycode_config.c
keycode_config.h [Core] Add getreuer's Autocorrect feature to core () 2022-09-17 17:50:54 +10:00
keycodes.h Normalise output selection (Bluetooth) keycodes () 2022-11-08 19:03:31 +00:00
keymap.h Start moving towards introspection-based data retrieval () 2022-09-29 18:25:55 +01:00
keymap_common.c Fix keycode parameter extraction to match the new DD keycodes () 2022-11-06 21:39:05 +00:00
keymap_introspection.c Start moving towards introspection-based data retrieval () 2022-09-29 18:25:55 +01:00
keymap_introspection.h Start moving towards introspection-based data retrieval () 2022-09-29 18:25:55 +01:00
led.c quantum: led: split out led_update_ports() for customization of led behaviour () 2022-10-06 21:24:41 +11:00
led.h quantum: led: split out led_update_ports() for customization of led behaviour () 2022-10-06 21:24:41 +11:00
led_tables.c
led_tables.h
main.c
matrix.c
matrix.h
matrix_common.c Merge remote-tracking branch 'origin/master' into develop 2022-08-07 19:33:39 +00:00
mousekey.c fixed MOUSEKEY_INERTIA on AVR () 2022-11-16 13:46:11 -08:00
mousekey.h add "inertia" mode for mouse keys () 2022-10-26 20:49:44 +01:00
pointing_device_internal.h [Core] Introduce pointing device specific debug messages () 2022-08-29 19:16:49 +02:00
programmable_button.c Programmable Button API refactor and improve docs () 2022-10-15 14:33:24 +11:00
programmable_button.h Programmable Button API refactor and improve docs () 2022-10-15 14:33:24 +11:00
quantum.c Normalise output selection (Bluetooth) keycodes () 2022-11-08 19:03:31 +00:00
quantum.h Digitizer feature improvements () 2022-11-12 23:28:11 +00:00
quantum_keycodes.h Normalise MIDI keycodes () 2022-11-07 02:26:15 +00:00
quantum_keycodes_legacy.h Align haptic feedback keycode names () 2022-11-07 02:43:53 +00:00
raw_hid.h
ring_buffer.h
secure.c Use a macro to compute the size of arrays at compile time () 2022-08-30 10:20:04 +02:00
secure.h
sync_timer.c
sync_timer.h
util.h Use a macro to compute the size of arrays at compile time () 2022-08-30 10:20:04 +02:00
variable_trace.c
variable_trace.h
velocikey.c
velocikey.h
via.c VIA V3 - The Custom UI Update () 2022-11-10 07:46:44 +11:00
via.h VIA V3 - The Custom UI Update () 2022-11-10 07:46:44 +11:00
virtser.h
wpm.c [Bug] Fix compilation issue with WPM () 2022-11-05 19:05:01 +00:00
wpm.h Reduce includes for wpm header () 2022-11-04 00:50:59 +00:00