qmk_firmware/quantum
Stefan Kerkmann c68e4dec10
[Core] suspend: suppress wake up keypress (#23389)
* suspend: suppress wake up keypress

Waking the host from suspend is done by pressing any key on the
keyboard, the regular key codes assigned to the keys are not important
and must not be sent - otherwise they usually end up in password prompts
as ghost characters that have to be deleted again. This commit adds
suppression for all keys pressed at the time of wake up. Once a key is
released it functions as a regular key again.

Signed-off-by: Stefan Kerkmann <karlk90@pm.me>

* suspend: update wake up matrix after wake up delay

If USB_SUSPEND_WAKEUP_DELAY is set, the keyboard sleeps during wake up -
which can be up to multiple seconds. To handle key presses and releases
in that time frame we have to handle the following cases:

1. Key not pressed before suspend, and not pressed after wakeup → do
   nothing (normal case).
2. Key not pressed before suspend, but pressed after wakeup → set the
   wakeup_matrix bit to 1 (so that the press and release events would be
   suppressed).
3. Key pressed before suspend, but not pressed after wakeup → do nothing
   (the release event will be generated on the first matrix_task() call
   after the wakeup).
4. Key pressed before suspend, and still pressed after wakeup → do
   nothing (the release event will be generated some time later).

Signed-off-by: Stefan Kerkmann <karlk90@pm.me>
Co-authored-by: Sergey Vlasov <sigprof@gmail.com>

* keyboards: anavi: macropad8: disable snake and rgb_test effects

...to shrink the binary size.
2025-11-11 23:35:03 +11:00
..
audio Relocate AUDIO_INIT_DELAY implementation (#25491) 2025-07-14 13:53:57 +01:00
backlight Add compiler_support.h (#25274) 2025-05-22 23:31:15 +10:00
battery Refactor battery driver (#25550) 2025-08-17 01:14:48 +01:00
bootmagic
connection Add compiler_support.h (#25274) 2025-05-22 23:31:15 +10:00
debounce Debounce: Deprecate num_rows parameter (#25632) 2025-10-19 03:14:37 +01:00
encoder/tests
keymap_extras Fix Slovak and Lithuanian (QWERTY) sendstring LUTs (#25703) 2025-10-06 17:27:31 +01:00
led_matrix Fix RGB matrix not syncing and turning off properly on timeout (#25467) 2025-10-26 16:47:04 -07:00
logging Non-volatile memory data repository pattern (#24356) 2025-03-21 23:38:34 +11:00
midi
nvm Fix dynamic keymap static assert (#25327) 2025-06-03 13:03:59 +01:00
os_detection/tests Merge remote-tracking branch 'origin/master' into develop 2025-01-29 19:28:06 +00:00
painter Merge remote-tracking branch 'origin/master' into develop 2025-11-11 12:21:26 +00:00
pointing_device Add core handling for pointing device failures. (#25315) 2025-06-14 13:55:35 +01:00
process_keycode [Feature Improvement]add option to keep layer state when recording dynamic macros (#24418) 2025-11-11 23:30:42 +11:00
rgb_matrix Fix RGB matrix not syncing and turning off properly on timeout (#25467) 2025-10-26 16:47:04 -07:00
rgblight Add compiler_support.h (#25274) 2025-05-22 23:31:15 +10:00
send_string
sequencer
split_common Add compiler_support.h (#25274) 2025-05-22 23:31:15 +10:00
unicode Add compiler_support.h (#25274) 2025-05-22 23:31:15 +10:00
wear_leveling Add compiler_support.h (#25274) 2025-05-22 23:31:15 +10:00
action.c [Core] Speculative Hold option for mod-taps: hold mods instantly while unsettled. (#25572) 2025-11-11 22:27:12 +11:00
action.h [Core] Speculative Hold option for mod-taps: hold mods instantly while unsettled. (#25572) 2025-11-11 22:27:12 +11:00
action_code.h
action_layer.c Add additional hooks for Community modules (#25050) 2025-05-05 10:21:47 +10:00
action_layer.h Add additional hooks for Community modules (#25050) 2025-05-05 10:21:47 +10:00
action_tapping.c [Core] Speculative Hold option for mod-taps: hold mods instantly while unsettled. (#25572) 2025-11-11 22:27:12 +11:00
action_tapping.h [Core] Speculative Hold option for mod-taps: hold mods instantly while unsettled. (#25572) 2025-11-11 22:27:12 +11:00
action_util.c [Core] Speculative Hold option for mod-taps: hold mods instantly while unsettled. (#25572) 2025-11-11 22:27:12 +11:00
action_util.h [Feature] Implement mod_t packed struct (#25168) 2025-09-30 15:52:43 +01:00
basic_profiling.h
bits.h Fix path typo related RP2040 (#25069) 2025-03-28 21:03:59 +11:00
bitwise.c
bitwise.h
caps_word.c
caps_word.h
color.c
color.h
command.c Align sleep_led logic (#25395) 2025-06-27 08:17:28 +01:00
command.h
compiler_support.h Add compiler_support.h (#25274) 2025-05-22 23:31:15 +10:00
crc.c
crc.h
debounce.h Debounce: Deprecate num_rows parameter (#25632) 2025-10-19 03:14:37 +01:00
deferred_exec.c
deferred_exec.h
digitizer.c
digitizer.h
dip_switch.c
dip_switch.h
dynamic_keymap.c Fix dynamic keymap macro only sending first. (#25309) 2025-05-27 14:22:55 +01:00
dynamic_keymap.h Non-volatile memory data repository pattern (#24356) 2025-03-21 23:38:34 +11:00
eeconfig.c Deprecate usb.force_nkro/FORCE_NKRO (#25262) 2025-05-14 22:02:43 +10:00
eeconfig.h [Bugfix] User eeconfig utility macros (#25350) 2025-06-09 19:35:48 +01:00
encoder.c
encoder.h
haptic.c Non-volatile memory data repository pattern (#24356) 2025-03-21 23:38:34 +11:00
haptic.h Add compiler_support.h (#25274) 2025-05-22 23:31:15 +10:00
joystick.c
joystick.h
keyboard.c [Core] suspend: suppress wake up keypress (#23389) 2025-11-11 23:35:03 +11:00
keyboard.h
keycode.h
keycode_config.c Guard remapping logic with MAGIC_ENABLE (#25537) 2025-11-06 23:03:28 +00:00
keycode_config.h Add compiler_support.h (#25274) 2025-05-22 23:31:15 +10:00
keycode_string.c [Core] get_keycode_string(): function to format keycodes as strings, for more readable debug logging. (#24787) 2025-03-19 20:45:56 +01:00
keycode_string.h [Core] get_keycode_string(): function to format keycodes as strings, for more readable debug logging. (#24787) 2025-03-19 20:45:56 +01:00
keycodes.h Add generic handling to cycle LED/RGB Matrix flags (#24649) 2025-09-22 00:01:23 +01:00
keymap_common.c Fix reference to wrong layer when LM used with right modifiers (#25303) 2025-05-27 23:24:20 +01:00
keymap_common.h
keymap_introspection.c Add compiler_support.h (#25274) 2025-05-22 23:31:15 +10:00
keymap_introspection.h
layer_lock.c
layer_lock.h
leader.c
leader.h
led.c
led.h
led_tables.c
led_tables.h
main.c
matrix.c Debounce: Deprecate num_rows parameter (#25632) 2025-10-19 03:14:37 +01:00
matrix.h Add MATRIX_ROWS_PER_HAND definition (#25513) 2025-07-25 10:04:12 +10:00
matrix_common.c Debounce: Deprecate num_rows parameter (#25632) 2025-10-19 03:14:37 +01:00
modifiers.h
mousekey.c Restrict mouse timer activation to movement keycodes (#25716) 2025-10-27 15:11:57 +11:00
mousekey.h
os_detection.c Fix OS_DETECTION_KEYBOARD_RESET (#25015) 2025-05-12 12:15:40 +10:00
os_detection.h Non-volatile memory data repository pattern (#24356) 2025-03-21 23:38:34 +11:00
pointing_device_internal.h
programmable_button.c
programmable_button.h
quantum.c Simplify tap_code16_delay (#25595) 2025-09-06 10:04:42 +01:00
quantum.h Refactor battery driver (#25550) 2025-08-17 01:14:48 +01:00
quantum_keycodes.h Deprecate some nonstandard mod & mod-tap keycode aliases (#25437) 2025-07-06 20:30:47 +10:00
quantum_keycodes_legacy.h Remove deprecated RGB_ and Mouse keycodes (#25444) 2025-07-11 11:05:41 -06:00
raw_hid.c Add raw_hid support to host driver (#25255) 2025-05-12 08:38:48 +10:00
raw_hid.h
repeat_key.c
repeat_key.h
ring_buffer.h
secure.c
secure.h
steno_keycodes.h
sync_timer.c
sync_timer.h
tri_layer.c
tri_layer.h
util.h
variable_trace.c
variable_trace.h
via.c VIA Keylog Change (#25504) 2025-11-11 23:21:50 +11:00
via.h Non-volatile memory data repository pattern (#24356) 2025-03-21 23:38:34 +11:00
virtser.h
wpm.c
wpm.h