xf86-input-evdev: Changes to 'master'

Peter Hutterer whot at kemper.freedesktop.org
Thu Jul 26 17:08:58 PDT 2012


 src/evdev.c |   80 ++++++++++++++++++++++++++++++++++++++++++++++++++++--------
 1 file changed, 70 insertions(+), 10 deletions(-)

New commits:
commit 4eacb581fb71eaf515ec67af0f206126d8328043
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date:   Wed Jul 4 10:12:10 2012 +1000

    Only use mtdev for multitouch devices
    
    mtdev uses a chunk of memory per device (~41kB), mainly for for its
    internal event buffers. The average box these days can easily have 10
    devices, but only few of those are multitouch. So check if we have
    ABS_MT_POSITION axes and only create an mtdev instance if we do.
    
    If a device has multitouch axes but not x/y, we will ignore events from this
    device now.
    
    Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
    Reviewed-by: Chase Douglas <chase.douglas at canonical.com>



More information about the xorg-commit mailing list