diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2014-04-09 17:36:09 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2014-04-09 17:36:09 +0200 |
commit | 293adde407f0adfc9546fdbe3169f617f28771b7 (patch) | |
tree | 5722ddf12d0a52aa728dc70eec80eceab0da0a28 /input-events.c | |
parent | 3481f7bc531a2010c7e83940b6ed1f1b5b6e8b6f (diff) | |
download | input-293adde407f0adfc9546fdbe3169f617f28771b7.tar.gz |
lsinput overhaul
Diffstat (limited to 'input-events.c')
-rw-r--r-- | input-events.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/input-events.c b/input-events.c index c525757..38207c8 100644 --- a/input-events.c +++ b/input-events.c @@ -1,5 +1,6 @@ #include <stdio.h> #include <stdlib.h> +#include <stdbool.h> #include <string.h> #include <time.h> #include <unistd.h> @@ -21,7 +22,7 @@ static void show_events(int nr, int timeout, int grab) fd = device_open(nr,1); if (-1 == fd) return; - device_info(fd); + device_info(nr, fd, true); if (grab) { if (-1 == ioctl(fd,EVIOCGRAB,1)) { |