Alireza Soori
Alireza Soori

Reputation: 645

Check if keyboard and mouse are available with Qt

Is it possible to check if a keyboard and a mouse are connected to the system with Qt or any other C++ alternative? in windows

Upvotes: 8

Views: 1710

Answers (1)

snehal
snehal

Reputation: 1846

I think Qt in embedded Linux can detect the plug and unplug of an USB Mouse and enable it when USB mouse is plugged in.

you can refer following links http://qt-project.org/doc/qt-4.8/qkbddriverplugin.html#details

http://qt-project.org/doc/qt-4.8/qmousedriverplugin.html#details

http://qt-project.org/doc/qt-4.8/qwsmousehandler.html

Upvotes: 3

Related Questions