This commit is contained in:
Denis 2023-12-08 01:16:18 +01:00
parent c1f7cdf373
commit dc06046f7c
No known key found for this signature in database
GPG key ID: DD9B63F805CF5C03
2 changed files with 1 additions and 3 deletions

View file

@ -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

View file

@ -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);