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

Peter Hutterer whot at kemper.freedesktop.org
Tue Jul 20 21:48:41 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

5 commits against master at cc9d3415...:
 man/synaptics.man  |   23 +++++++++++++++--------
 src/eventcomm.c    |   21 ++++++++++++++-------
 src/properties.c   |    4 +++-
 src/synaptics.c    |    7 ++++++-
 src/synapticsstr.h |    1 +
 5 files changed, 39 insertions(+), 17 deletions(-)


commit abb448a253cb0b3003038fbaa1daa9494c396e8f
Author: Chris Bagwell <chris at cnpbagwell.com>
Date:   Wed Jul 7 21:35:22 2010 -0500

    Align EmulateTwoFinger* docs to current behavior.
    
    This corrects man page to mention EmulateTwoFingerMinW
    and EmulateTwoFingerMinZ are considered together.  Old
    man page read like driver would emulate two-finger even
    if only pressure OR width (but not both) were supported.
    
    Next, add note to align man page with patch that defaults
    to enabling two-finger emulation on hardware that does not
    support two-finger detection but does support pressure and
    width detection.
    
    Signed-off-by: Chris Bagwell <chris at cnpbagwell.com>
    Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>

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

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


commit ffa6dc2809734a6aaa690e9133d6761480603a68
Author: Chris Bagwell <chris at cnpbagwell.com>
Date:   Thu Jul 1 20:09:43 2010 -0500

    Default to 2-finger emulation when HW supports it
    
    Ideally, emulating 2-fingers should just work on hardware
    were it can be supported. This patch is to do that.
    
    Currently, emulateTwoFingerMinW defaults to 7. Most kernel
    drivers do not support reporting finger width and so can't get above
    MinW of 7. Synaptics devices hardcode width value to 5 when
    hardware doesn't support width and 7 is a good threshold to detect
    2 fingers on hardware that does. bcm7954 are only other devices
    that report width and they support reporting DOUBLETAP and wouldn't
    need emulation anyways.
    
    emulateTwoFingerMinZ defaulted to a really high value so never
    let Synaptics devices to emulate 2-fingers by default.
    Changed default to a low value (same as FingerHigh) when hardware
    doesn't support DOUBLETAP and supports width so emulations
    will now work by default in all the right cases.
    
    I'm working to get kernel to stop reporting ABS_TOOL_WIDTH unless
    hardware really supports it.  If that would have been behavior
    in first place then we could also default to 2-finger scrolling as
    well.  Since its not reliable, we should continue defaulting to
    side scrolling.
    
    Config GUI's will want to now allow switching between 2-finger and edge
    scrolling when new property indicates width is supported.  GUI's should
    also update the above MinZ and MinW's to values similar to our defaults.
    
    Signed-off-by: Chris Bagwell <chris at cnpbagwell.com>
    Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>

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

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


commit e2a247a76e21d9c0be7d537dbfc18df9f3b812fa
Author: Chris Bagwell <chris at cnpbagwell.com>
Date:   Wed Jul 7 21:00:19 2010 -0500

    Document Capabilities property additions in man
    
    Documents has_pressure and has_width additions.
    
    Signed-off-by: Chris Bagwell <chris at cnpbagwell.com>
    Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>

diffstat:
    man/synaptics.man |    4 ++--
    1 file changed, 2 insertions(+), 2 deletions(-)

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


commit 75459b1c0bb85ce0bbeb4270114edddb30ff3b1b
Author: Chris Bagwell <chris at cnpbagwell.com>
Date:   Mon Jul 19 19:30:14 2010 -0500

    Expose width support in capabilites properity.
    
    Some properties are only valid with hardware supports
    width.  Namely, *MinW properties.  Config GUI's may
    wish to disable/grey out options related to width support.
    
    This combined with pressure property is good indication when
    2 finger scrolling can be supported using emulation.
    
    Signed-off-by: Chris Bagwell <chris at cnpbagwell.com>
    Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>

diffstat:
    src/eventcomm.c    |   19 +++++++++++++------
    src/properties.c   |    3 ++-
    src/synapticsstr.h |    1 +
    3 files changed, 16 insertions(+), 7 deletions(-)

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


commit 51e9bb815812469f39ad47f723d842bf1893a109
Author: Chris Bagwell <chris at cnpbagwell.com>
Date:   Wed Jul 7 20:40:52 2010 -0500

    Expose pressure support in capabilities property.
    
    Some properties are only valid when hardware supports
    pressure.  For example, the *MinZ and *MaxZ options.
    Config GUI's may wish to disable/grey out config
    options related to pressure since not all hardware supports
    it.  This will allow for that.
    
    Also, change setting of priv->has_pressure to boolean
    value so its value will always fit in 8-bit that
    properities report.
    
    Signed-off-by: Chris Bagwell <chris at cnpbagwell.com>
    Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>

diffstat:
    src/eventcomm.c  |    2 +-
    src/properties.c |    3 ++-
    2 files changed, 3 insertions(+), 2 deletions(-)

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




More information about the xorg-commit mailing list