vietc/daemon
Khoa Vo 6756340cb0 fix: VM keyboard EV_KEY+EV_MSC double-processing in non-grabbed mode
VM keyboards emit both EV_KEY and EV_MSC/MSC_SCAN events for each
physical key press. The non-grabbed evdev loop was processing both,
causing each character to be processed twice by the engine. This
doubled every character in the engine buffer, corrupting the output.

Fix: collect EV_KEY keycodes first, then skip MSC_SCAN events that
map to already-processed EV_KEY keycodes. Only VMs that emit
MSC_SCAN without EV_KEY still process the MSC fallback.

Also removed spammy 'evdev: N device(s) have events after ungrab' log
that flooded the terminal on every poll iteration.
2026-07-04 18:20:53 +07:00
..
src fix: VM keyboard EV_KEY+EV_MSC double-processing in non-grabbed mode 2026-07-04 18:20:53 +07:00
Cargo.toml release: v0.1.7 — password detection, Telex enabled, GNOME Wayland support 2026-07-01 11:00:11 +07:00