Skip to main content
GameDev.net gamedev.net
🔒 Locked

More DirectInput issues

Started by jfalstaff May 3, 2012 at 6:02 AM 1 replies 1.9k views
Original Post
jfalstaff
jfalstaff
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.
kunos
kunos
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.
jfalstaff
jfalstaff
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?

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.