Jump to content
  • Advertisement
Sign in to follow this  
jfalstaff

More DirectInput issues

This topic is 2267 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

Something new.

My joystick, a Saitek X-52 stick and throttle, is reporting as a 1st person, 6DOF device and my pedals report as a limited joystick when I query dwDevType of DIDEVICEINSTANCE. The product name is reporting fine, but not the device type.

Is dwDevType worth the query? I was hoping to get an informational rundown on game devices, but it doesn't seem to give valid responses. Edited by jfalstaff

Share this post


Link to post
Share on other sites
Advertisement
not really, at the end of the day all you need is a query for axes and buttons and let the user assign them to whatever they want.

Share this post


Link to post
Share on other sites
Ok, the axis and buttons are easy enough.

One last statement, in the enumerated object list, there was two values (I'm filtering them out now) labeled "Collection 0 - Joystick" and "Collection 1 - Joystick" that didn't seem to have any data associated with them. I'm assuming these were for linking directly into the HID interface. Is that a correct assumption? Edited by jfalstaff

Share this post


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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!