Files
voculinux/src
SbenazarandGitHub 350cfcf17f fix(evdev): handle SYN_DROPPED to prevent stale modifier state (#339)
When the kernel's evdev buffer overflows it sends SYN_DROPPED to signal
lost events. Without handling this, a missed key-release can leave
key_pressed_devices in a stale state, causing stuck push-to-talk.

Discard all events between SYN_DROPPED and the next SYN_REPORT, then
reset modifier key state for the affected device.

Refs: https://www.kernel.org/doc/html/latest/input/event-codes.html
2026-03-25 21:45:53 -07:00
..