Jump to content
  • Advertisement

Archived

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

Heinzah

Losing events in DirectInput?

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

Anybody have any good ideas of what can cause DirectInput to lose input events? For example, I am using buffered input for the mouse and the keyboard and occasionally my app will utterly fail to detect mouse-up and key-up events. I am checking to make sure that I am not overflowing the event buffer, and I am utterly baffled as to why these events aren''t showing up.

Share this post


Link to post
Share on other sites
Advertisement
check how often you are updating the mouse data. In my app the mouse data is updated all the time (no waiting for a specificed time before updating) and my keyboard input is updated every 50ms. And both are part of WinMain.

+AA_970+

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.

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!