Smooth scrolling again

Max Schwarz Max at x-quadraht.de
Wed Nov 17 13:26:56 PST 2010


On Wednesday 17 November 2010 at 23:55:20, Simon Thum wrote:
> > if possible, wrap it. it's much easier to work around issues than when
> > each driver just mangles the struct directly. But I don't think you need
> > a new call here, just re-using the existing InitValuatorAxisStruct
> > should do.
> 
> Srsly?
> 
> I mean, that's initialization. Sure, git also has non/destructive
> initialization, but I'd rather have wrapped calls which optionally send
> events. That way one might also suppress superfluous events generated
> when modifying multiple axes.
Yeah, I wondered about that, especially as I have to call 
xf86SetValuatorAxisNoIntegration() after xf86InitValuatorAxisStruct() again...

I would propose specific methods for changing the resolution, axes ranges, 
etc., and one final call to send out events.

Max


More information about the xorg-devel mailing list