Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Usb question: how to capture a hardware button push operatin on a usb webcam into a qt application
fwaheed last edited by
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)
wspilot last edited by
if dbus, you can try