Re: High-resolution scroll events



Hi,

> > Do you have an idea on how to implement this? I think Qt's model is quite
> > nice, they have a 'delta' field in their event [3] which gives more
> > precise information. Of course, If you want to retain API compability
> > (which I think you do) a new event would have to be introduced that is
> > emitted in parallel.
> 
> No, you don't have to. Here is a patch for the Mac OS X backend which
> implements this. (Let me check tonight whether I can find my cleaned up
> version and attach it to that bug.)
But that would mean changing the frequency of the events, correct?
For every small wheel delta a new event has to be sent. Can current software 
cope with that? I'd expect that it starts scrolling wildly ;-)

The problem is not with large deltas (which are thrown away in the current OSX 
version, if I understand the patch correctly), but with small deltas, which 
get emitted from Xorg with a pretty high frequency.

Max


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]