Archived

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

Mouse Direct input sample from SDK

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