mirror of
https://gitlab.freedesktop.org/libevdev/libevdev.git
synced 2025-12-31 07:40:14 +01:00
tools: update libevdev-events to use the new LIBEVDEV_READ_NORMAL flag
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
7bf7b1d7c9
commit
5a3d928ba6
1 changed files with 1 additions and 1 deletions
|
|
@ -170,7 +170,7 @@ main(int argc, char **argv)
|
|||
|
||||
do {
|
||||
struct input_event ev;
|
||||
rc = libevdev_next_event(dev, 0, &ev);
|
||||
rc = libevdev_next_event(dev, LIBEVDEV_READ_NORMAL, &ev);
|
||||
if (rc == 1) {
|
||||
printf("::::::::::::::::::::: dropped ::::::::::::::::::::::\n");
|
||||
while (rc == 1) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue