evdev: Prevent driver from processing motion events that it has not configured. #21832
The current implementation initializes itself to support relative motion events, or absolute motion events, or neither. But the event-handling code attempts to process all events, no matter what the initialization was. This patch reproduces the flag tests found during init, to skip events that the driver doesn't support. Signed-off-by: Derek Upham <sand@blarg.net> Signed-off-by: Julien Cristau <jcristau@debian.org> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>master
parent
dc2191285e
commit
0a3657d2ee
1 changed files with 14 additions and 2 deletions
Loading…
Reference in new issue