[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg
Subject:    Re: How to get xinput reflect evdev driver's absinfo changes ?
From:       Peter Hutterer <peter.hutterer () who-t ! net>
Date:       2012-07-30 22:26:57
Message-ID: 20120730222657.GB25748 () yabbi ! redhat ! com
[Download RAW message or body]

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
_______________________________________________
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.x.org/mailman/listinfo/xorg
Your subscription address: freedesktop-xorg@progressive-comp.com
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic