Mouseacceleration in 640x400

Started by Daniel Thomas, Mon 30/01/2006 10:28:47

Previous topic - Next topic

Daniel Thomas

When I run my game in 640x400 resulotion (or higher) the mouse gets acceleration, for you who dont know what I mean its when: the cursor changes sensetivity depending in how fast you move your mouse, it accelerates.

I dont know if this only apply to 640x400 and up, but when I run it in 320x200 its not noticable, maybe its always there but hard to spot in 320x200 res.

No, I have no mouseaccel in windows etc, I used to play many fps so I know my mouse and its sensitivity :P

Thanks!
Check out The Journey of Iesir Demo | Freelance artist, check out my Portfolio

Scorpiorus

Yes, it seems like at higher resolutions AGS introduces an extra mouse acceleration (probably doubles sensitivity). That's because otherwise it may be a pain to move the mouse around the screen at high resolutions since there are more pixels for it to travel making you physically move the mouse farther.

Pumaman

I'm not aware of any mouse acceleration being done in AGS, but the mouse code that it uses (Allegro) may do so ... is this a big problem? I've never noticed it, personally.

Scorpiorus

I just looked into the allegro changelist and indeed there are some entries concerning the mouse acceleration, such as:
Quote3.9.38: Eric Botcazou changed the acceleration scheme for the mouse under Windows.

I didn't find any info in the manual though. So probably, allegro indeed reads raw mouse inputs via DirectInput (to bypass windows cursor mouseaccel) and then applies its own mouse acceleration scheme on top.?

Daniel Thomas

I dunno if its a big problem, probably a mather of taste.. myself hate it and would love if there was an option to choose whetever to use it or not. :>
Check out The Journey of Iesir Demo | Freelance artist, check out my Portfolio

Pumaman

Interesting, I'll take a look at it but I can't promise anything.

Daniel Thomas

Check out The Journey of Iesir Demo | Freelance artist, check out my Portfolio

SMF spam blocked by CleanTalk