xf86-input-synaptics:master: 4 commit(s)

Peter Hutterer whot at kemper.freedesktop.org
Tue Sep 9 05:59:10 PDT 2008


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

4 commits against master at 53772f5c...:
 src/alpscomm.c     |    3 -
 src/eventcomm.c    |   40 ++++++++++++++---
 src/ps2comm.c      |    3 -
 src/psmcomm.c      |    3 -
 src/synaptics.c    |  118 ++++++++++++++++++++++++++++++++++++++++++-----------
 src/synapticsstr.h |    5 +-
 src/synproto.h     |    1 
 7 files changed, 138 insertions(+), 35 deletions(-)


commit e622b00f56e455c8a48173d89cea56d1323f05d7
Author: Peter Hutterer <peter.hutterer at redhat.com>
Date:   Tue Sep 9 00:27:36 2008 +0930

    Improve edge autodetection and accel.
    
    The synaptics spec specifies "typical axis ranges" for synaptics devices.
    Based on these typical ranges, calculate edge coordinates and apply the same
    proportions to the device at hand.
    Based on the hard-coded ranges and acceleration, calculate accel for
    autodetected ranges in the same proportions.

diffstat:
    src/eventcomm.c    |   12 +++----
    src/synaptics.c    |   82 +++++++++++++++++++++++++++++++++++++------------
    src/synapticsstr.h |    1 
    3 files changed, 70 insertions(+), 25 deletions(-)

gitweb url:
http://cgit.freedesktop.org/xorg/driver/xf86-input-synaptics;a=commit;h=e622b00f


commit 05e22a584be0dbf83b5b4b72d51f7d5f59ad7334
Author: Peter Hutterer <peter.hutterer at redhat.com>
Date:   Tue Sep 9 00:24:06 2008 +0930

    Pre-probe the device (eventcomm only).
    
    For auto-dev, we'd probe the device node and get the axis ranges. If we
    specify the device however we didn't retrieve the axis ranges and thus got
    stuck with the defaults - losing out on automatic edge and accel calculation.
    
    This is an issue if the device is hotplugged, as HAL will specify the device
    node.
    
    This patch adds another hook to synproto_operations to pre-probe the device.
    This hook is only used by eventcomm and opens the FD, queries the axis range
    and closes the FD again.

diffstat:
    src/alpscomm.c  |    3 ++-
    src/eventcomm.c |   28 +++++++++++++++++++++++++++-
    src/ps2comm.c   |    3 ++-
    src/psmcomm.c   |    3 ++-
    src/synaptics.c |    5 +++--
    src/synproto.h  |    1 +
    6 files changed, 37 insertions(+), 6 deletions(-)

gitweb url:
http://cgit.freedesktop.org/xorg/driver/xf86-input-synaptics;a=commit;h=e622b00f


commit db7dc1085e43ccdd796c67174289313ed4852c13
Author: Peter Hutterer <peter.hutterer at redhat.com>
Date:   Sat Sep 6 03:03:42 2008 +0930

    Don't lose button up event if timeout is cancelled in the same ReadInput cycle
    
    On a left/right button press, middle button emulation springs into action and
    changes the reported hw state. It then returns a delay that is supposed to set
    a timer. No button event is posted to the server, the timer ensures that it'll
    be posted later.
    
    If however - in the same cycle - the button up is reported, but with a
    hardware time > middle emulation timeout, the middle button emulation is
    canceled. The hw state is reset to button down, and processing continues,
    reporting the button down event.
    Since this is in the same cycle, the new delay overrides the previous one and
    the timer is never set.
    
    Introduce a new state into MB emulation that forces the click event if the
    above situation occurs.
    
    Red Hat Bug 233717 <http://bugzilla.redhat.com/show_bug.cgi?id=233717>

diffstat:
    src/synaptics.c    |   28 ++++++++++++++++++++++++++--
    src/synapticsstr.h |    4 +++-
    2 files changed, 29 insertions(+), 3 deletions(-)

gitweb url:
http://cgit.freedesktop.org/xorg/driver/xf86-input-synaptics;a=commit;h=e622b00f


commit 5d3a47eed9f5330982d10c3acc15c486e3c86beb
Author: Peter Hutterer <peter.hutterer at redhat.com>
Date:   Tue Sep 9 19:12:35 2008 +0930

    Don't crash when neither Path nor Device are given.
    
    xf86ReplaceOption doesn't seem to like NULL values

diffstat:
    src/synaptics.c |    3 ++-
    1 file changed, 2 insertions(+), 1 deletion(-)

gitweb url:
http://cgit.freedesktop.org/xorg/driver/xf86-input-synaptics;a=commit;h=e622b00f




More information about the xorg-commit mailing list