xf86-input-evdev: Changes to 'master'

Peter Hutterer whot at kemper.freedesktop.org
Mon Aug 17 20:15:42 PDT 2009


 include/evdev-properties.h |    2 +-
 man/evdev.man              |    5 ++++-
 src/emuWheel.c             |   40 ++++++++++++++++++++++++++++------------
 3 files changed, 33 insertions(+), 14 deletions(-)

New commits:
commit f4ba2bd785b25fd522967abd7775925d5fded70f
Author: Dima Kogan <dkogan at secretsauce.net>
Date:   Sun Aug 16 23:11:50 2009 -0700

    Allow 0 as wheel emulation button for unconditional scrolling (#20529)
    
    If wheel emulation is on and the emulation button is 0, then any x/y motion
    of the device is converted into wheel events. The devices becomes a
    scrolling-only device.
    
    Signed-off-by: Dima Kogan <dkogan at cds.caltech.edu>
    Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>

commit 2e5f68754fd5bc4e6b7fa5b95bdd30e2bb4e57fb
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date:   Mon Aug 17 09:41:11 2009 +1000

    Restrict wheel emulation to a single axis at a time.
    
    Wheel emulation works for both horizontal and vertical axes. Thus, if a
    device doesn't move in perfect straight line, scroll events build up on the
    respective other axis.
    
    In some clients, scroll wheel events have specific meanings other than
    scrolling (e.g. mplayer). In these clients, erroneous scrolling events come
    at a high cost.
    
    Thus, if a scroll wheel event is generated for one axis, reset the inertia
    of the other axis to 0, avoiding the buildup of these erroneous scrolling
    events.
    
    Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>



More information about the xorg-commit mailing list