xf86-input-evdev: Changes to 'master'

Peter Hutterer whot at kemper.freedesktop.org
Thu Aug 13 17:44:06 PDT 2009


 src/emuMB.c |    2 +-
 src/evdev.c |   27 +++++++++++++++++++++------
 src/evdev.h |    1 +
 3 files changed, 23 insertions(+), 7 deletions(-)

New commits:
commit 7967677789e3ee24733b3514e1ae7a8e12bbc2b5
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date:   Fri Aug 14 09:05:40 2009 +1000

    Treat tablets (BTN_TOOL_PEN devices) differently from touchpads.
    
    The previous checks for BTN_TOOL_FINGER and BTN_TOUCH reported false
    positives for touchpads for most popular tablets.
    As a result, their events were converted to relative events.
    
    Add a new flag EVDEV_TABLET pending presence of BTN_TOOL_PEN and ignore the
    touchpad special casing to report the events as-is.
    
    Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>

commit 36064dca9097df896b4b1b49c9c68775f1728846
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date:   Thu Aug 13 10:27:16 2009 +1000

    Add EvdevPostButtonEvent API to immediately post a button event (#23269)
    
    The wheel emulation code needs this API. When the timer expires, the event
    must be posted immediately, not enqueued onto the internal event queue.
    Otherwise, the emulated middle button press is enqueued only and no event is
    sent until the next physical event (and its EV_SYN) arrives.
    
    Since the timer is triggered outside of the SIGIO and SIGIO is blocked
    during this period anyway, we could also just enqueue the event and flush by
    simulating an EV_SYN. It's easier this way though.
    
    X.Org Bug 23269 <http://bugs.freedesktop.org/show_bug.cgi?id=23269>
    
    Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
    Acked-by: Oliver McFadden <oliver.mcfadden at nokia.com>



More information about the xorg-commit mailing list