Jump to content
  • Advertisement

Archived

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

jonmon

How do i fix this DIRECTINPUT_VERSION undefined. Defaulting to version 0x0800

This topic is 5921 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

DIRECTINPUT_VERSION undefined. Defaulting to version 0x0800 how do i fix it How do u set the version u want to use? ~~JonMon

Share this post


Link to post
Share on other sites
Advertisement
The easy way: before you include dinput.h, add the line ''#define DIRECTINPUT_VERSION 0x0800''.

Share this post


Link to post
Share on other sites
how do i fix this

error C2065: ''DSBCAPS_CTRLDEFAULT'' : undeclared identifier



~~JonMon

Share this post


Link to post
Share on other sites
IIRC they removed DSBCAPS_CTRLDEFAULT for some reason. Replace it with DSBCAPS_CTRLPAN | DSBCAPS_CTRLVOLUME | DSBCAPS_CTRLFREQUENCY (I think that''s right).

Share this post


Link to post
Share on other sites

  • 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!