Jump to content
  • Advertisement
Sign in to follow this  
penetrator

Directinput question

This topic is 4828 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
×

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!