Łukasz Przeniosło
Łukasz Przeniosło

Reputation: 2949

Qt device watcher?

Because of the problem I am experiencing described here Cannot use keyboard within Qt app without sudo and here Qt embedded linux event watcher I was wondering either there is in Qt, an event watcher? I Have found library named QFileSystemWatcher but it doesnt work with devices, only with regular files. Also I have found a 3rd party library for this QDeviceWatcher but it only consists signals for when a new device is inserted or removed, not when it changes (for example I press a key). I need to watch a keyboard device /dev/input/event1 for key strokes. I would apreciate all help!

Upvotes: 2

Views: 1007

Answers (0)

Related Questions