[PATCH/evdev] Add explicit options to ignore relative or absolute axes.

Peter Hutterer peter.hutterer at who-t.net
Sun Oct 4 16:10:02 PDT 2009


On Sun, Oct 04, 2009 at 12:00:16PM +1100, Daniel Stone wrote:
> On Wed, Sep 30, 2009 at 12:35:56PM +1000, Peter Hutterer wrote:
> > The X server cannot deal with devices that have both relative and absolute
> > axes. Evdev tries to guess wich axes to ignore given the device type and
> > disables absolute axes for mice and relative axes for tablets, touchscreens
> > and touchpad. This guess is sometimes wrong and causes exitus felis
> > domesticae parvulae.
> > 
> > Two new configuration options are provided to explicitly allow ignoring an
> > axis. Mouse wheel axes are exempt and will work even if relative axes are
> > ignored.  No property, this configuration must be set in the configuration.
> 
> I'm still mildly uncomfortable with bulking up the evdev driver with
> workarounds for various failures in other parts of the stack, but as
> long as we manage to fix this reasonably soon in the server, it gets my
> Acked-by.

XI2 allows to change the axes mode from relative to absolute, but we don't
have the driver hooks and input API to allow a driver to actually do that
yet. That shouldn't be too hard to add though.

Cheers,
  Peter


More information about the xorg-devel mailing list