Advertisement Jump to content
Sign in to follow this  

Distinguish two same joysticks

This topic is 3875 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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!

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!