• Advertisement
Sign in to follow this  

Directinput question

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

I use directinput to get all the axis, buttons of a joystick, but i don't know how to retrieve the vendor or joystick model name. Anyone tried it ? Thanks

Share this post


Link to post
Share on other sites
Advertisement
Call IDirectInputDevice8::GetDeviceInfo()
Part of the LPDIDEVICEINSTANCE structure it returns is the product and instance names of the joystick - is that what you want?

-Mezz

Share this post


Link to post
Share on other sites
I'm still using the good old directx7, and GetDeviceInfo()
is not supported. I suppose i will have to switch soon ...

Share this post


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

  • Advertisement