Jan,having troubles with that statement?
"A unique serial number should give you the same device interface GUID every time."
- this is the issue though. I get the same GUID everytime, thus causing a random order. So serials will not fix this?
--- Oh wait you mean unique to that serial. If so , yes this is what I'd like to see.
There are a lot of ways to pull the order.
1) just bring up the game-pad screen in Microsoft. This list shows consistently random.
2) Enumerate in directX, same order as above.
3) Using USB.dll, again, same order.
4) using linux, in dev input you get j0 j1 j2 j3 each again follows this consistently random order.
by consistently random I mean this.
plug in a 4 port hub to a new usb port. the order will be random says 2,4,1,3 for example. Now use the examples above they are always 2,4,1,3
now try another usb port. say this time its 2,1,3,4 again, all examples above show this order.
You can actually try usb after usb until you get 1,2,3,4 this is good even on a reboot. But the minute you change usb ports or removed the hid drivers and reinstall them, they will pick another order. My goals is a way to force 1,2,3,4.