Gabriel Rossetti wrote:
Hello everyone,

is there a way to check if the device is still present?

hid_find_usb_device() can't be used if the device is open and I'm not sure hid_is_opened() detects if the device was opened and then unplugged correctly.

Thanks,
Gabriel

What happens exactly when a device is unplugged? Am I responsible for cleaning
anything up (e.g. do I have to close it, release the interface, etc)?

Thanks,
Gabriel

_______________________________________________
libhid-discuss mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/libhid-discuss
http://libhid.alioth.debian.org/

Reply via email to