xf86-input-evdev: Changes to 'evdev-2.1-branch'

Peter Hutterer whot at kemper.freedesktop.org
Sun Nov 2 20:12:44 PST 2008


 configure.ac               |    2 
 include/evdev-properties.h |    8 +++
 man/evdev.man              |   11 ++++
 src/emuMB.c                |    9 ++-
 src/evdev.c                |  117 ++++++++++++++++++++++++++++++++++++++++-----
 src/evdev.h                |   11 +++-
 6 files changed, 142 insertions(+), 16 deletions(-)

New commits:
commit 7ef4e2c5e14e558f41fb7f411e2976f517b6b526
Author: Peter Hutterer <peter.hutterer at redhat.com>
Date:   Mon Nov 3 13:47:15 2008 +1030

    evdev 2.1 RC 3
    
    That's it, no more new features. Now it's down to bugfixing only.

commit dd0eeacc24a80893209f24d9ad028a6bc7e3a390
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>
    (cherry picked from commit 4826969f23a0b298da2750c2e23a92b9d91819dd)

commit 67c0ea6c9421a5226c1b8bc3a198b1cb01f6b355
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.
    (cherry picked from commit 33eb36f26663c09c873acede1b35e91ef4c64479)

commit 6bcbbc0411cf3466edeb1fcbb393290cadfd3082
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>
    (cherry picked from commit 64554e4799a697d37dfd8be480f8eee636b9bea1)

commit 534a3734d088ff0155ebc7fca7ab246635cd725a
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>
    (cherry picked from commit b77f9398570fb8eae1fcf50bc3c10c9c390c6bac)

commit 215c230d5c036e7d5c8e2621cf272a078149d969
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>
    (cherry picked from commit a43ab4999b9cad10f77aa6c703d3c61b754f1fd4)

commit 8f96530449b264e7f1f21ab1d030c5b361937774
Author: Peter Hutterer <peter.hutterer at redhat.com>
Date:   Mon Oct 27 15:54:49 2008 +1030

    emuMB: add EvdevMBEmuOn and call from EvdevOn to register wakeup handlers.
    
    This got broken in b0737bdbd1f6e601eb4984b6f4cb49279190984c, when the
    EmuMBPreInit call was removed from EvdevOn. As a result, VT switching away and
    back wouldn't restore the wakeup handlers and mouse button presses
    disappeared.
    (cherry picked from commit af096e8c5d8b425f725a37bf4a98e205e70716e9)

commit 4fb97edcd4e3de23a8476ca4d0267f55293cccad
Author: Peter Hutterer <peter.hutterer at redhat.com>
Date:   Fri Oct 24 13:09:46 2008 +1030

    Fix axis inversion for absolute coordinates.
    
    If min_x/y was not equal to 0, the inverted calculated range was off and leads
    to inaccessible or out-of-range areas.
    (cherry picked from commit 12498042fcc08e34aef0117ce84192f59542fd56)

commit 4e86393bc0873235c1381faee5559b1aeba63be5
Author: Peter Hutterer <peter.hutterer at redhat.com>
Date:   Fri Oct 24 09:21:36 2008 +1030

    emulate MB: fix confusing log message.
    
    If we're forcing MB emulation behaviour as per config, then at least state
    whether we're forcing it off or on.
    
    Found by Michel Dänzer.
    (cherry picked from commit 0f8fcfccb3251ee3df80d90ae5d7df638722d24e)



More information about the xorg-commit mailing list