[AD] [WIN] mouse acceleration

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


I think it's time to definitively solve the problems related to the mouse
under Windows.

Therefore I've attached a patch:
- the mouse keeps being accelerated by default, with the acceleration scheme
provided by Javier (two thresholds and one acceleration factor),
- the default parameters are modified to achieve a greater acceleration,
especially in high res modes: respectively 5 (picked out this one from
SVGAlib 1.4.3), 16 and 3 (Javier's 2 was a little too slow),
- the 3 parameters can be altered by the user and setting the acceleration
factor to 0 totally disables acceleration.

--
Eric Botcazou
ebotcazou@xxxxxxxxxx

Attachment: mouse_accel.zip
Description: Zip compressed data



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/