Jump to content
  • Advertisement
Sign in to follow this  

Directinput question

This topic is 4742 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
Sign in to follow this  

  • Advertisement
×

Important Information

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

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!