How to clear buffer before call libevdev_next_event
Knoppix
theknoppix at gmail.com
Fri Jan 11 08:52:35 UTC 2019
Hi,
I set some calibration/settings on input device (*turn device wheel to
left. I did this with write() function*) while this happens input system
gathers data. So when I first call libevdev_next_event it gives me old
garbage data. But I dont want those.
How can I flush/clear buffered data with libevdev? Is there any way?
(*Execuse me for my english I am not native*)
Yours Sincerely..
More information about the Input-tools
mailing list