calculusnoob
calculusnoob

Reputation: 165

Can I explicity specify which keyboard can be used as input device in Qt?

I currently have keyboard's Vendor ID,product id, revison number - extracted from interception library(specific function call: interception_get_hardware_id more information on it here:(Scroll to the bottom of the page).

What I want to do is to explicity specify, input device (i.e keyboard, based on its vendor,product ID and revision number) that my Qt application can interact with regardless of how many input devices are physically connect to my machine (i.e more than 1 keyboard may be attached, just want to use one specific keyboard). Is this functionality implementable using Qt ?

Kindly point me to Qt documentation where I could look into, to implement such functionality. Just need a push in the right direction, thanks.

EDIT: Im on windows platform.

EDIT: Inteception library(API for controlling input devices based on Win32 API) : https://github.com/oblitum/Interception

Upvotes: 1

Views: 244

Answers (0)

Related Questions