Jump to content
  • Advertisement

Archived

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

IceGod

Direct Input problem - Buffered mouse input

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

Hi, Im trying to get buffered mouse input working, and basically all I did was copy the code from the DX8 mouse tutorial (in the sdk help files). Anyways, everything seems to be working fine, but when I go to look at the data returned by dinput with regards to mouse movement, it gives values like this: dwOfs = 0 (x-axis movement) dwData = 4294967295 - how do I interpret this? dwTimeStamp = 59666463 dwSequence = 3729940745 None of those values make any sense for me, or for my app, to use. In the DX8 sample mouse app, it doesn''t seem to do anything special with the data it gets, it just prints it into a formatted string. The string it displays at the bottom is like x:8 y:2 etc, in other words pixel movement, how is it doing this? Thanks, Tom

Share this post


Link to post
Share on other sites
Advertisement

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