Jump to content
  • Advertisement


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


A small problem with DInput and Intellimouse

This topic is 5198 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''ve run into a small problem while using the mouse (Intellimouse Optical). The driver (v. 4.10) has a nice option of accelerating your pointer speed whenever you move the mouse a bit faster. But while using DirectInput in my app, (I use a "virtual pointer", that is I use SetCursorPos() in the beginning to synchronize the 2 pointers and then I draw a triangle using opengl in the coordinates of the real pointer) the 2 pointers (the normal windows pointer and mine) do not move in parallel. If a disable the aforementioned option everything is ok, but is there a way to use my program without disabling the acceleration? Or can I disable any mouse acceleration within my code? (Without having to rely on Right-Click Intellimouse icon... every time) I guess the problem lies because DirectInput talks directly to the mouse and the driver reports to windows. Thanks in advance.

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!