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

Peter Hutterer whot at kemper.freedesktop.org
Wed Aug 24 16:50:56 PDT 2011


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

20 commits against master at 98e8481c...:
 configure.ac                   |    4 
 include/synaptics-properties.h |    2 
 src/alpscomm.c                 |    2 
 src/eventcomm.c                |    1 
 src/properties.c               |   20 +
 src/ps2comm.c                  |    2 
 src/synaptics.c                |  503 +++++++++++++++++++++++------------------
 src/synapticsstr.h             |   34 +-
 src/synproto.h                 |    2 
 9 files changed, 333 insertions(+), 237 deletions(-)


commit 4fe1b58c2c6903961a84077363a0c8de5736c650
Author: Daniel Stone <daniel at fooishbar.org>
Date:   Thu Jun 9 20:03:09 2011 +0100

    Scroll: Modify ScrollData in repeat_scrollbuttons
    
    repeat_scrollbuttons used to read the scroll repeat values and then post
    button events directly.  Instead, make it modify ScrollData and let
    post_scroll_events take care of sending the scroll events, which
    requires moving the repeat_scrollbuttons call upwards.
    
    Signed-off-by: Daniel Stone <daniel at fooishbar.org>
    Reviewed-by: Peter Hutterer <peter.hutterer at who-t.net>

diffstat:
    src/synaptics.c |   19 +++++++++++++------
    1 file changed, 13 insertions(+), 6 deletions(-)

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


commit df68486254b38b7f08f7d510ce1b75aaef9e52fd
Author: Daniel Stone <daniel at fooishbar.org>
Date:   Thu Jun 23 15:02:26 2011 +0100

    Scroll: Move coasting variables to priv->scroll
    
    Also rename (e.g. autoscroll_x -> coast_delta_x, and
    autoscroll_xspd -> coast_speed_x) variables to clarify things a bit.
    
    Signed-off-by: Daniel Stone <daniel at fooishbar.org>
    Reviewed-by: Peter Hutterer <peter.hutterer at who-t.net>

diffstat:
    src/synaptics.c    |   78 ++++++++++++++++++++++++-------------------------
    src/synapticsstr.h |   10 +++---
    2 files changed, 44 insertions(+), 44 deletions(-)

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


commit aae994cc0c08e6da270c199af429315a3a2092bf
Author: Derek Foreman <derek.foreman at collabora.co.uk>
Date:   Fri Jun 3 18:28:59 2011 +0100

    Scroll: Add last_millis to track scroll event timing
    
    Stopping a little short of having a full scroll history, adding
    last_millis lets us track when the last scroll event we sent was,
    for more accurate timing of coasting in particular.
    
    Signed-off-by: Derek Foreman <derek.foreman at collabora.co.uk>
    Reviewed-by: Daniel Stone <daniel at fooishbar.org>
    Reviewed-by: Peter Hutterer <peter.hutterer at who-t.net>

diffstat:
    src/synaptics.c    |   10 +++++++---
    src/synapticsstr.h |    1 +
    2 files changed, 8 insertions(+), 3 deletions(-)

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


commit fb7c0c5965b6843f38e9c881f4c349006ec0da32
Author: Daniel Stone <daniel at fooishbar.org>
Date:   Thu Jun 23 13:58:31 2011 +0100

    Scroll: Move scroll_[xya] into new priv->scroll struct
    
    And rename them to last_x, last_y and last_a respectively, as they're
    used to store the values as of the last scroll event sent.
    
    Signed-off-by: Daniel Stone <daniel at fooishbar.org>
    Reviewed-by: Peter Hutterer <peter.hutterer at who-t.net>

diffstat:
    src/synaptics.c    |   54 ++++++++++++++++++++++++-------------------------
    src/synapticsstr.h |    8 ++++---
    2 files changed, 32 insertions(+), 30 deletions(-)

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


commit 81a8ddb4a768bee3a4b304716fa4cfead49a2761
Author: Daniel Stone <daniel at fooishbar.org>
Date:   Thu Jun 9 20:03:08 2011 +0100

    Scroll: Clarify rep_buttons assignment
    
    Instead of a combined variable declaration with two ternary expressions
    using raw hex values, expand it to have two genuine if statements,
    setting with a more clear bitshift.
    
    Signed-off-by: Daniel Stone <daniel at fooishbar.org>
    Reviewed-by: Peter Hutterer <peter.hutterer at who-t.net>

diffstat:
    src/synaptics.c |    8 ++++++--
    1 file changed, 6 insertions(+), 2 deletions(-)

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


commit f40bbf7494a6122d464e3fff4309f69af2a20e4a
Author: Derek Foreman <derek.foreman at collabora.co.uk>
Date:   Mon Mar 7 17:49:42 2011 -0500

    Revise palm check logic
    
    Make the palm-check logic more stable and reliable, and make sure that
    any palms are blocked for the duration of their presses.
    
    Signed-off-by: Derek Foreman <derek.foreman at collabora.co.uk>
    Reviewed-by: Daniel Stone <daniel at fooishbar.org>
    Reviewed-by: Peter Hutterer <peter.hutterer at who-t.net>

diffstat:
    src/synaptics.c    |   54 ++++++++++++++++++++++++++-----------------------
    src/synapticsstr.h |    3 --
    2 files changed, 30 insertions(+), 27 deletions(-)

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


commit 86dfe5086ff672e4d3c354980b999c6f3a27ebec
Author: Derek Foreman <derek.foreman at collabora.co.uk>
Date:   Wed Mar 23 14:12:36 2011 -0700

    More accurate extrapolated fake motion events
    
    Use better time estimates so we can provide better fake motion events.
    This reduces the difference between motion with one and two fingers down
    to be almost imperceptible, despite the reporting rate being halved on
    PS/2 devices.
    
    Signed-off-by: Derek Foreman <derek.foreman at collabora.co.uk>
    Reviewed-by: Daniel Stone <daniel at fooishbar.org>
    Reviewed-by: Peter Hutterer <peter.hutterer at who-t.net>

diffstat:
    src/synaptics.c    |   12 ++++++------
    src/synapticsstr.h |    1 +
    2 files changed, 7 insertions(+), 6 deletions(-)

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


commit b26125e412a130b7a8f8b6adf9ffc8e9cc8df42c
Author: Derek Foreman <derek.foreman at collabora.co.uk>
Date:   Wed Mar 2 12:31:58 2011 -0500

    Replace the motion estimator
    
    Use a smarter motion estimator that attempts to draw a best-fit line
    through the history where possible, including taking acceleration into
    account.
    
    Signed-off-by: Derek Foreman <derek.foreman at collabora.co.uk>
    Reviewed-by: Daniel Stone <daniel at fooishbar.org>
    Reviewed-by: Simon Thum <simon.thum at gmx.de>

diffstat:
    src/synaptics.c |   71 +++++++++++++++++++++++++++++++++++++++++++++++++---
    1 file changed, 67 insertions(+), 4 deletions(-)

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


commit ffed18dfffda32de7282e44c5b8d1fb7d5454b54
Author: Daniel Stone <daniel at fooishbar.org>
Date:   Tue Jun 14 17:41:58 2011 +0100

    Update count_packet_finger in store_history, not get_delta
    
    Seems more sensible to update the count of packets in the history when
    we update the history, rather than somewhere else entirely.
    
    Signed-off-by: Daniel Stone <daniel at fooishbar.org>
    Reviewed-by: Peter Hutterer <peter.hutterer at who-t.net>

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

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


commit c8b098214b44cf0585d78c460401ea7d143769f3
Author: Daniel Stone <daniel at fooishbar.org>
Date:   Tue Jun 14 17:24:24 2011 +0100

    Don't store fake events in the motion history
    
    As the subject says: don't store any synthesised events in the motion
    history, since we can recreate those algorithmically.
    
    Signed-off-by: Daniel Stone <daniel at fooishbar.org>
    Reviewed-by: Peter Hutterer <peter.hutterer at who-t.net>

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

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


commit 458c7251295e767fae7a0ac3366212361bce25a6
Author: Derek Foreman <derek.foreman at collabora.co.uk>
Date:   Thu Mar 31 14:29:43 2011 -0700

    Use hardware time where possible
    
    Rather than always setting hw->millis as the time when we received the
    event in our SIGIO handler, use the time provided by the kernel if
    applicable (i.e. if we're using evdev rather than PS/2 or similar).
    
    Signed-off-by: Derek Foreman <derek.foreman at collabora.co.uk>
    Reviewed-by: Daniel Stone <daniel at fooishbar.org>
    
    [from_timer is in preparation for a future patch, currently unused]
    
    Reviewed-by: Peter Hutterer <peter.hutterer at who-t.net>

diffstat:
    src/alpscomm.c     |    2 
    src/eventcomm.c    |    1 
    src/ps2comm.c      |    2 
    src/synaptics.c    |  138 ++++++++++++++++++++++++-------------------------
    src/synapticsstr.h |    1 
    5 files changed, 75 insertions(+), 69 deletions(-)

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


commit 495e0fe1b7afa9de04ee0341da1ade4d3d4f50b8
Author: Daniel Stone <daniel at fooishbar.org>
Date:   Thu Jun 23 11:19:18 2011 +0100

    Use CARD32 for timestamps
    
    As GetTimeInMillis() returns a CARD32, switch every timestamp usage to
    follow.
    
    Signed-off-by: Daniel Stone <daniel at fooishbar.org>
    Reviewed-by: Peter Hutterer <peter.hutterer at who-t.net>

diffstat:
    src/synaptics.c    |    6 +++---
    src/synapticsstr.h |    2 +-
    src/synproto.h     |    2 +-
    3 files changed, 5 insertions(+), 5 deletions(-)

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


commit 2ebf984262d6bd471b4b5f1333785865e8d3c25f
Author: Daniel Stone <daniel at fooishbar.org>
Date:   Thu Jun 9 20:02:58 2011 +0100

    Introduce POLL_MS for packet frequency
    
    We expect to be receiving a steady 80 packets/sec (which gives 40
    reports/sec with more than one finger on the pad, as Advanced Gesture
    Mode requires two PS/2 packets per report).  Instead of a random
    scattering of magic 13 and 20ms numbers scattered throughout the driver,
    introduce POLL_MS as 14ms.
    
    Having this here allows us to call back at a steady frequency to ensure
    that the finger motion remains steady.
    
    Signed-off-by: Daniel Stone <daniel at fooishbar.org>
    Reviewed-by: Peter Hutterer <peter.hutterer at who-t.net>

diffstat:
    src/synaptics.c |   26 +++++++++++++++++++++-----
    1 file changed, 21 insertions(+), 5 deletions(-)

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


commit 6d1f8f9886cbd4b3073502f3f37c4dd618971361
Author: Daniel Stone <daniel at fooishbar.org>
Date:   Thu Jun 9 20:02:49 2011 +0100

    Give FingerState enums explicit values
    
    Since we depend so heavily on ordering and numbering, just give all the
    enum explicit number values.
    
    Signed-off-by: Daniel Stone <daniel at fooishbar.org>
    Reviewed-by: Peter Hutterer <peter.hutterer at who-t.net>

diffstat:
    src/synaptics.c    |    2 +-
    src/synapticsstr.h |    8 ++++----
    2 files changed, 5 insertions(+), 5 deletions(-)

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


commit 0f171af28410f939a915064af9fb9af38118455d
Author: Daniel Stone <daniel at fooishbar.org>
Date:   Thu Jun 9 20:02:52 2011 +0100

    Add HIST_DELTA macro for differences in history
    
    HIST_DELTA(a, b, e) is equivalent to HIST(a).e - HIST(b).e.  Replace the
    one user of this pattern with a HIST_DELTA call.
    
    Signed-off-by: Daniel Stone <daniel at fooishbar.org>
    Reviewed-by: Peter Hutterer <peter.hutterer at who-t.net>

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=4fe1b58c


commit a24c44375025576dd600ccf370ba365e5d94dc22
Author: Derek Foreman <derek.foreman at collabora.co.uk>
Date:   Mon Mar 21 16:01:29 2011 -0700

    Fix pressure->motion property format
    
    CARD32, not float.
    
    Signed-off-by: Derek Foreman <derek.foreman at collabora.co.uk>
    Reviewed-by: Daniel Stone <daniel at fooishbar.org>

diffstat:
    include/synaptics-properties.h |    2 +-
    src/properties.c               |    8 ++++----
    2 files changed, 5 insertions(+), 5 deletions(-)

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


commit 627b09e5bd0726ad31bfeb4f07b8f8287d8ec46f
Author: Daniel Stone <daniel at fooishbar.org>
Date:   Tue Jun 14 17:07:11 2011 +0100

    Properties: Generalise InitTypedAtom from InitAtom
    
    Add InitTypedAtom, which does exactly the same thing as InitAtom, but
    takes an additional type argument.
    
    Signed-off-by: Daniel Stone <daniel at fooishbar.org>

diffstat:
    src/properties.c |   12 +++++++++---
    1 file changed, 9 insertions(+), 3 deletions(-)

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


commit 299a44cd2035e84859b9d6c84854064326f8d124
Author: Daniel Stone <daniel at fooishbar.org>
Date:   Thu Jun 23 10:58:43 2011 +0100

    Bump minimum xorg-server requirement to 1.7
    
    This means we can also drop support for pre-ABI v7.
    
    Signed-off-by: Daniel Stone <daniel at fooishbar.org>

diffstat:
    configure.ac    |    2 +-
    src/synaptics.c |   28 +++++-----------------------
    2 files changed, 6 insertions(+), 24 deletions(-)

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


commit 05fb9b5f248aacb121997f02d7a6e7cbbfb5ed1c
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date:   Thu Aug 25 09:50:27 2011 +1000

    Bump to 1.5.99
    
    Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>

diffstat:
    configure.ac |    2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

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


commit f5141b6c663d97f771fc7c86b32d8d43a1a003c0
Author: Daniel Stone <daniel at fooishbar.org>
Date:   Tue Jun 14 17:43:36 2011 +0100

    Shuffle include order around
    
    Group X protocol/server includes together, and synaptics-internal
    includes together.
    
    Signed-off-by: Daniel Stone <daniel at fooishbar.org>

diffstat:
    src/synaptics.c |    8 ++++----
    1 file changed, 4 insertions(+), 4 deletions(-)

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




More information about the xorg-commit mailing list