qmk_firmware/quantum/process_keycode
Jouke Witteveen 8f585153c4
Add GET_TAPPING_TERM macro to reduce duplicate code (#16681)
* Add GET_TAPPING_TERM macro to reduce duplicate code

The macro gives the right tapping term depending on whether per-key
tapping terms and/or dynamic tapping terms are enabled. Unnecessary
function calls and variable resolution are avoided.

Fixes #16472.

* Use GET_TAPPING_TERM for Cirque trackpads

Co-authored-by: Stefan Kerkmann <karlk90@pm.me>
2022-04-16 11:24:09 -07:00
..
process_audio.c
process_audio.h
process_auto_shift.c
process_auto_shift.h
process_backlight.c
process_backlight.h
process_clicky.c
process_clicky.h
process_combo.c
process_combo.h
process_dynamic_macro.c
process_dynamic_macro.h
process_dynamic_tapping_term.c
process_dynamic_tapping_term.h
process_grave_esc.c
process_grave_esc.h
process_haptic.c
process_haptic.h
process_joystick.c
process_joystick.h
process_key_lock.c
process_key_lock.h
process_key_override.c
process_key_override.h
process_leader.c
process_leader.h
process_magic.c
process_magic.h
process_midi.c
process_midi.h
process_music.c
process_music.h
process_printer_bb.c
process_printer.c
process_printer.h
process_programmable_button.c
process_programmable_button.h
process_rgb.c
process_rgb.h
process_secure.c
process_secure.h
process_sequencer.c
process_sequencer.h
process_space_cadet.c
process_space_cadet.h
process_steno.c
process_steno.h
process_tap_dance.c
process_tap_dance.h
process_terminal_nop.h
process_terminal.c
process_terminal.h
process_ucis.c
process_ucis.h
process_unicode_common.c
process_unicode_common.h
process_unicode.c
process_unicode.h
process_unicodemap.c
process_unicodemap.h