How to get xinput reflect evdev driver's absinfo changes ?

Peter Hutterer peter.hutterer at who-t.net
Mon Jul 30 15:26:57 PDT 2012


On Mon, Jul 30, 2012 at 04:11:15PM +0200, Yann Cantin wrote:
> >> So, is there a way to adapt xinput's valuators, or even to entirely disable scaling, as the
> >> kernel driver will throw valid screen coordinates ?
> >  
> > the evdev driver updates the axis ranges internally, but the server has (for
> > historical reasons) no facilities to update the axis range of a device at
> > runtime yet. So evdev simply scales the new range into the given range. If
> > the kernel changes at runtime, evdev has no way to detect this, and afaik
> > there's no kernel API to be notified of this either.
> 
> Ok.
> 
> Is it OK and safe to leave a 0-65535 range by default ?

yes, even though it's not visible, the calibration is appplied.

Cheers,
  Peter



More information about the xorg mailing list