Does a PC recognise the USB extensions on a USB docking station as seperate identification numbers

This question is in relation to joystick control. If I have 4 joysticks attached to a USB docking station, as in the following website


and I am programming in C++, how does the recognition of each device work. Normally if a joystick is connected to a PC through the USB port, the port has a specific identification number which can be recognised in C++. However, if a docking station is used, how can the different USB extensions be identified (are they all recognised by the individual USB ID or are they each assigned seperate IDs in some way?).

What I am trying to accomplish is using a multiple number of joysticks through USB simultaneously. I do not have enough USB ports on the PC itself so I need a docking station. I know this is a difficult question but I would really appreciate any feedback or any other ideas which would accomplish this.

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jaime OlivaresSoftware ArchitectCommented:
internal and external (using hub) USB port have the same treatment, all ports have an USB ID, and hub has a device ID because it is considered a device (it is not as transparent as an ethernet hub)
AnthonyFeeAuthor Commented:
Thanks for the reply.
I pressume that each connection on the USB hub is read at a different time?? This is that, for example, on a 4 way hub, each connection is connection every 4 clock edges.
In other words if I have 4 joysticks, and all press a button at the same time ( I know with the speed of the clock this is very unlikely anyway) will they all be read??

Thanks again for the help!
Jaime OlivaresSoftware ArchitectCommented:
>> if I have 4 joysticks, and all press a button at the same time ( I know with the speed of the clock this is very unlikely anyway) will they all be read??
Absolutely yes, all devices are read (usb host polls all devices continuosly) and never confused.

For a better understanding of USB I suggest to buy this book and read this page:

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
AnthonyFeeAuthor Commented:
I'll give that a read. It seems like it should work for the purpose intended anyway.

Thanks again,
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.