Archived

This topic is now archived and is closed to further replies.

DarrenNix

Fix for latest DirectInput libs

Recommended Posts

#define DIRECTINPUT_VERSION 0x0500
#include

That's a fix to get the newer DirectInput library to be compatible with projects that use the 5.0 version. So if you see a message box saying it can't initialize DirectInput, and you've recently upgraded DirectX, then try this solution.

Share this post


Link to post
Share on other sites