Jump to content
  • Advertisement

Archived

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

Green

Mouse Direct input sample from SDK

This topic is 5917 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 all, I tried the mouse sample from the SDK, and noticed that if I move the mouse cursor slowly the program does not pick up the mouse movements. It only picks up the mouse if it is moved quickly. Does ayone know why ? How do I fix this so I can get slow mouse movements?

Share this post


Link to post
Share on other sites
Advertisement
quote:
Original post by Green
Hi all,

I tried the mouse sample from the SDK, and noticed that if I move the mouse cursor slowly the program does not pick up the mouse movements. It only picks up the mouse if it is moved quickly.

Does ayone know why ?

How do I fix this so I can get slow mouse movements?



The sample picks up small movements but they reset to 0 when you stop moving the mouse. In the sample it only gives relative change, which is zero when you stop moving. If you want to keep track of the overall change just keep a counter where you read the device. Oh, and make sure you don''t have mouse acceleration on, it doesn''t work with DI.


Paul Dolhai

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!