xf86-input-evdev: Changes to 'master'

Peter Hutterer whot at kemper.freedesktop.org
Thu Sep 25 18:30:47 PDT 2014


 src/evdev.c |   92 ++++++++++++++++++++++++++++++------------------------------
 1 file changed, 47 insertions(+), 45 deletions(-)

New commits:
commit 3ee98d0b7f7c266b8c7954b7710f9724a9c9cddd
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date:   Fri Aug 29 13:14:56 2014 +1000

    Drop some unused #defines
    
    Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>

commit 977588d24a6bc511454c7bd616e8b24a8bc3f58e
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date:   Thu Aug 14 11:56:03 2014 +1000

    If only IgnoreRelativeAxes is set, init like a normal relative device
    
    In the current code, if only IgnoreRelativeAxes is set, the code would go on
    and force absolute axes to initialize even if the relative axes were
    successfully initialized.
    
    Evdev gives precedence to relative axes anyway, initializing absolute axes if
    the relative axes failed. Thus, if we explicitely want relative axes but leave
    the abs axes as-is, proceed as normal.
    
    Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>

commit 291b60172d25446d2cabe61ed93e56db6570baa3
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date:   Thu Aug 14 10:48:52 2014 +1000

    Fix axis initialization for devices with abs x/y and rel scrollwheels
    
    The Xen Virtual Pointer device has ABS_X, ABS_Y and REL_WHEEL. If smooth
    scrolling is detected, the current code would first initialize relative axes
    for scrolling and immediately overwrite those axes when the abs valuators are
    written out.
    
    This patch fixes the default case only, in the case of a device setting the
    two Ignore*Axis options both to "off", the axes are still overwritten. The
    wheels will work, other axes only if the same number of abs axes exists. And
    it keeps the current memory leak too, but it's marked with a FIXME now.
    
    Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>



More information about the xorg-commit mailing list