Usb question: how to capture a hardware button push operatin on a usb webcam into a qt application
I am trying to figure out a way to capture a hardware button being pressed on the usb webcam into the qt application. I am already using camera.pro application in qt, just want to know if there are any hints or ideas I can get to capture the event over the usb within the qt application.
I guess there is nothing as such provided readily in Qt.
one solution would be to monitor udev events and somehow get those in Qt application (may be using dbus or similar)
if dbus, you can try