Directinput question

Started by
1 comment, last by penetrator 18 years, 11 months ago
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
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
I'm still using the good old directx7, and GetDeviceInfo()
is not supported. I suppose i will have to switch soon ...

This topic is closed to new replies.

Advertisement