|
Re: Classmate USB Question?
Unfortunately, USB drivers and APIs don't really support the 1, 2, 3 notion. We tried really hard to make it work that way, but any given USB hub and computer would be different anyway. Notice they aren't labeled on the computer?
The typical usage is that you plug in a mouse, keyboard, printer, etc. But typically one or a small number of each type. They don't care where it is plugged, the app asks for the printer and it works.
When you plug in many of the same device, it should be possible to use the device serial number to identify your joysticks and remember that you use that one for left and that one for right. But the problem is that all the joysticks of the same make and model have the same serial number. Bummer.
So finally, what we did was do a lookup table. If you plug in the joysticks and then start the app, I think you'll find that it enumerates the joysticks the same each time. You can check or change the identity on the Setup tab. I don't think you'll need to change it very often.
Greg McKaskle
|