[PATCH RFC inputproto] Add WrapAround axis flag

Peter Hutterer peter.hutterer at who-t.net
Tue Aug 16 15:19:50 PDT 2011


On Tue, Aug 16, 2011 at 01:04:06PM +0100, Daniel Stone wrote:
> On Tue, Aug 16, 2011 at 04:03:47PM +1000, Peter Hutterer wrote:
> > Some devices (e.g. Intuos 4) have axes that are ring-shaped and thus jump
> > from min→max or max→min. Clients (and the server) should know about this.
> > 
> > Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
> > ---
> > This is a must-have if we want to have scroll button emulation in the
> > server. Currently, this functionality is in the driver and does the
> > detection for us but switching to smooth scrolling makes the scroll ring
> > flaky.
> > 
> > Besides, exporting this information to the client may be of use to them too.
> 
> Ugh.  I suppose it's too late now, but I don't suppose it makes any more
> sense to export them as relative rather than abs? If not:
> Reviewed-by: Daniel Stone <daniel at fooishbar.org>

tbh, don't know. I'll ask on the wacom list but at least historically we
couldn't - having absolute and relativ axes on a device was difficult.
fwiw, there's at least one more device out there (XKeys Shuttle and Jog,
even had that on my desk at some point) where an argument could be made that
the _position_ of the wraparound wheel is important enough to not switch it
to relative.
having said that, the market for those devices is rather small and requires
special software anyway.

Cheers,
  Peter


More information about the xorg-devel mailing list