Advertisement Jump to content
Sign in to follow this  
penetrator

Directinput question

This topic is 4990 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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!