Re: [AD] set_mouse_speed for X

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


On Fri, 2006-12-22 at 17:12 +0100, Elias Pschernig wrote:
> 
> That was fast, thanks :) I still think, we don't need an arbitrary limit
> at 10x.. if a user passes a speed of 1000, then let them live with the
> result.
> 
> Also - do you think it would work fine using hundreths instead of tenth?
> E.g. if someone has 1/3 (0.33) as default speed, it would now get 3/10
> (0.30) - probably not noticable, but with 1/100 instead of 1/10 we would
> be at the safe side :)
> 
> Hm, and set_mouse_speed really is a bad API, only way to speed up is by
> passing the value 1. Anyway, nothing that can be done about that.
> 

Yes, it's been some time, I know, but it has been committed now, mostly
like that. There had to be a cap as X11 would complain otherwise, and we
also added the missing XLOCK/XUNLOCK compared to the original patch
(tested it all in #allegro).

-- 
Elias Pschernig





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