xf86-input-synaptics:master: 1 commit(s)
Peter Hutterer
whot at kemper.freedesktop.org
Sun Jul 18 21:51:35 PDT 2010
Reporting from xf86-input-synaptics: xf86-input-synaptics driver
Please visit:
http://cgit.freedesktop.org/xorg/driver/xf86-input-synaptics
Or get your own copy by using:
git-clone git://anongit.freedesktop.org/xorg/driver/xf86-input-synaptics
Commit against master at df9b639c...:
commit cc9d34155297a85fb214d76d4fc45f26cf41f5f3
Author: Chris Bagwell <chris at cnpbagwell.com>
Date: Thu Jul 15 21:44:03 2010 -0500
Make default checks for x, y, w, and p separate.
Some input devices will not return any ranges and
current code seems geared towards those. It assumed
if invalid X/Y ranges then that was only case for invalid
W and Pressure.
Synaptics kernel drivers have been returning valid
X/Y/Z values but invalid 0/0 values for P.
Split up checks to allow setting defaults for any combination
of unspecified or invalid values.
I also think there was a bug in older code. It seemed odd
it was checking minx > maxx but miny < maxy. I changed both
to ">=" so that it also catches kernel reports of 0/0 and
logically invalid ranges (i.e. 6/6 or 9/1).
Signed-off-by: Chris Bagwell <chris at cnpbagwell.com>
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
diffstat:
src/synaptics.c | 50 ++++++++++++++++++++++++++++++++++++++------------
1 file changed, 38 insertions(+), 12 deletions(-)
gitweb url:
http://cgit.freedesktop.org/xorg/driver/xf86-input-synaptics;a=commit;h=cc9d3415
More information about the xorg-commit
mailing list