Distinguish two same joysticks
Hello!
I have two same USB joysticks Logitech Extreme 3D. Say, the first physical joystick is marked as "1" and the second marked as "2".
I need to determine which Device (in DirectX) corresponds to the "1" physical joystick.
In GetDevices() call I get devices list sorted on USB socket order. When the "1" joystick attached to the first socket it is also first in devices list, but when it attached to the second socket (and "2" joystick to the first socket) the "1" joystick is second in the list.
I tried using InstanceGuid but it is not physical device specific. It's rather specific to the number of a Device in devices list. That's why I get the same Guid for "1" and "2" when they attached to the first socket.
Can you suggest a way to overcome this problem?
Thank you!
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement