Sign in to follow this  

Monitoring USB ports

Recommended Posts

Hi, Consider an application containing 4 text-boxes that receive input data from 4 identical keyboards plugged into 4 USB ports of a computer (each text-box receives data from one of the keyboards). How could I detect, using C or C++, from which USB port the data is coming? It is just to set the keyboard focus to the correct text-box. I'm considering the keyboards are not simultaneously used. Thanks in advance

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this