xf86-input-evdev: Changes to 'master'

Peter Hutterer whot at kemper.freedesktop.org
Tue Jul 28 22:28:20 PDT 2009


 src/emuMB.c |    6 
 src/evdev.c |  559 +++++++++++++++++++++++++++++++++++++++---------------------
 src/evdev.h |   18 +
 3 files changed, 392 insertions(+), 191 deletions(-)

New commits:
commit 1f641d75edba7394201c1c53938215bae696791b
Author: Oliver McFadden <oliver.mcfadden at nokia.com>
Date:   Thu Jul 23 13:19:49 2009 +0300

    evdev: Only send the events at synchronization time.
    
    Instead of just posting the button/key press/release events to the
    server as soon as they arrive, add them to an internal queue and post
    them once we receive an EV_SYN synchronization event.
    
    The motion events are always sent first, followed by the queued events.
    There will be one motion event and possibly many queued button/key
    events posted every EV_SYN event.
    
    Note that the size of the event queue (EVDEV_MAXQUEUE) is arbitrary and
    you may change it. If we receive more events than the queue can handle,
    those events are dropped and a warning message printed.
    
    Tested on my Lenovo T400 using evdev for all input devices; keyboard,
    touchpad, and trackpoint.
    
    Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>

commit 2994825665790dc8e35b2944e0d411f3cc9f76fd
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date:   Mon Jul 20 14:52:34 2009 +1000

    Don't register middle mouse button emulation handlers for keyboards.
    
    Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>



More information about the xorg-commit mailing list