A Qt/C++ library used to watch for usb events. For now the library looks for usb devices via libusb. In the future DBus will be available as a solution
nwoki/usb-notifier
A Qt/C++wrapper around libusb in order to easily detect usb device attach/detach actions
C++MIT