debug
This commit is contained in:
parent
c1f7cdf373
commit
dc06046f7c
2 changed files with 1 additions and 3 deletions
|
|
@ -127,8 +127,6 @@ int dev_evdev_open(
|
|||
open_fds[open_sysfs_idx] = -1;
|
||||
close(fd);
|
||||
continue;
|
||||
} else {
|
||||
printf("Acquired evdev device %s: fd=%d\n", path, fd);
|
||||
}
|
||||
|
||||
// the device has been found
|
||||
|
|
|
|||
2
dev_in.c
2
dev_in.c
|
|
@ -105,7 +105,7 @@ int open_device(
|
|||
fprintf(stderr, "Unable to open the specified device: %d\n", res);
|
||||
goto open_device_err;
|
||||
} else {
|
||||
printf("I got a device.\n");
|
||||
printf("Device opened: %s\n", libevdev_get_name(out_dev->evdev));
|
||||
}
|
||||
|
||||
out_dev->has_rumble_support = libevdev_has_event_type(out_dev->evdev, EV_FF) && libevdev_has_event_code(out_dev->evdev, EV_FF, FF_RUMBLE);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue