Jump to content
  • Advertisement

Archived

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

yanuart

Debugging n DirectInput

This topic is 5943 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''m having a hard time debugging my program if I''ve allready set my DirectInput object and acquire the input device (keyboard), if u know what I mean.. any better ways to do this ??

Share this post


Link to post
Share on other sites
Advertisement
Can you be more specific?

If you get a delay whenever you step in debugger, you should use DI emulation. Check the box in DINPUT control panel, or (which is what I do) use GUID_SysKeyboardEm and GUID_SysMouseEm if _DEBUG is defined.

Share this post


Link to post
Share on other sites
I mean.. if I set up a breakpoint in my code and then check if there was an input from my device.. how come the input device returned the wrong devicestate

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!