Due to http://bugs.freedesktop.org/show_bug.cgi?id=34240 this will display 0
for XI < 2.2 and libXi < 1.6.1.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
int i;
double *val, *raw_val;
int i;
double *val, *raw_val;
- printf(" device: %d\n", event->deviceid);
+ printf(" device: %d (%d)\n", event->deviceid, event->sourceid);
printf(" detail: %d\n", event->detail);
printf(" valuators:\n");
#if HAVE_XI21
printf(" detail: %d\n", event->detail);
printf(" valuators:\n");
#if HAVE_XI21