Consistent mouse movement across machines / resolutions

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Gorbstein
Posts: 37
Joined: Wed Nov 25, 2009 8:44 pm
Location: Scotland

Consistent mouse movement across machines / resolutions

Post by Gorbstein »

I just upgraded from an ancient laptop with XP, to a faster machine with windows 7 and found that my game's mouse input is all messed up.

I can't quite pin down why, but small movements seem to not get picked up at all, and medium movements seem absolutely huge.

I'm using a 1 update per frame method, but I'm processing the mouse inputs with respect to the delta time each frame, before I pump the movements into my physics system. This worked across all previous XP setups I tried, even those with vastly different system speeds.

If I turn off the mouse acceleration in Win7 ("enhance pointer precision"), it returns to almost exactly the behaviour I had with XP.

Is there a way to read mouse info before OS acceleration is applied?

How do people here handle mouse input that works across different setups?

Cheers,

D
Image
Post Reply