xf86-input-evdev: Changes to 'master'

Peter Hutterer whot at kemper.freedesktop.org
Sun Nov 2 19:12:30 PST 2008


 Makefile.am                |    7 +
 configure.ac               |   16 +++
 include/evdev-properties.h |    8 +
 man/evdev.man              |   11 ++
 src/evdev.c                |  112 +++++++++++++++++++++++--
 src/evdev.h                |   10 ++
 test/Makefile.am           |   35 +++++++
 test/abs.c                 |   84 ++++++++++++++++++
 test/absrel.c              |   91 ++++++++++++++++++++
 test/btn0.c                |   87 +++++++++++++++++++
 test/fakedev.c             |  199 +++++++++++++++++++++++++++++++++++++++++++++
 test/fakedev.h             |   51 +++++++++++
 12 files changed, 699 insertions(+), 12 deletions(-)

New commits:
commit 4826969f23a0b298da2750c2e23a92b9d91819dd
Author: Peter Hutterer <peter.hutterer at redhat.com>
Date:   Mon Nov 3 13:25:06 2008 +1030

    Add support for axes swapping.
    
    New option: SwapAxes (boolean)
    New property: EVDEV_PROP_SWAP_AXES.
    
    Actual swapping code written by Donnie Berkholz.
    
    Signed-off-by: Peter Hutterer <peter.hutterer at redhat.com>

commit 33eb36f26663c09c873acede1b35e91ef4c64479
Author: Peter Hutterer <peter.hutterer at redhat.com>
Date:   Thu Oct 30 16:55:29 2008 +1030

    Add support for run-time calibration.
    
    Some devices require run-time axis calibration. We can't change the min/max
    ranges once we've initialised the valuator structs though, so in-driver
    run-time calibration is required.
    
    If the property is set, the driver scales from the calibrated range to the
    values reported to the X server (which then may scale to screen coordinates).
    If the property is not set (i.e. zero items) no scaling is performed.

commit d5cf24d3f0075a467e026592bfbb76b207dea8eb
Author: Peter Hutterer <peter.hutterer at redhat.com>
Date:   Wed Oct 29 16:54:16 2008 +1030

    Add test/ directory for uinput-based test devices.
    
    Three test devices provided:
    btn0 .... Provides BTN_0, BTN_1, BTN_2 instead of BTN_LEFT, BTN_MIDDLE,
              BTN_RIGHT.
    abs ..... Provdes x/y absolute axes, jumps between 100/100 and 120/120.
    absrel .. Provides relative x/y axes and absolute x/y axes at the same time.
    
    Signed-off-by: Peter Hutterer <peter.hutterer at redhat.com>

commit 64554e4799a697d37dfd8be480f8eee636b9bea1
Author: Peter Hutterer <peter.hutterer at redhat.com>
Date:   Wed Oct 29 13:50:07 2008 +1030

    Treat BTN_[0-2] as LMR buttons if necessary.
    
    Treat BTN_[0-2] as LMR buttons on devices that do not advertise BTN_LEFT,
    BTN_MIDDLE, BTN_RIGHT (e.g. 3Dconnexion SpaceNavigator).
    
    Otherwise, treat BTN_[0+n] as button 5+n. Note: This causes duplicate
    mappings for BTN_0 + n and  BTN_SIDE + n.
    
    This also fixes a bug where we could end up with negative button numbers after
    trying to map BTN_0.
    
    Signed-off-by: Peter Hutterer <peter.hutterer at redhat.com>

commit b77f9398570fb8eae1fcf50bc3c10c9c390c6bac
Author: Peter Hutterer <peter.hutterer at redhat.com>
Date:   Wed Oct 29 13:28:19 2008 +1030

    Remove obsolete FIXME
    
    xkeyboard-config's maps are perfectly able to cope with evdev now.
    
    Signed-off-by: Peter Hutterer <peter.hutterer at redhat.com>

commit a43ab4999b9cad10f77aa6c703d3c61b754f1fd4
Author: Peter Hutterer <peter.hutterer at redhat.com>
Date:   Tue Oct 28 12:09:26 2008 +1030

    Flush input after re-opening the fd.
    
    Suggested by Julien Cristau.
    
    Signed-off-by: Peter Hutterer <peter.hutterer at redhat.com>



More information about the xorg-commit mailing list