X.org xf86-input-evdev driver.: Changes to 'master'

Zephaniah E. Hull warp at kemper.freedesktop.org
Thu Jul 13 18:59:32 EEST 2006


 src/evdev.c      |   11 ++
 src/evdev.h      |   13 ++-
 src/evdev_axes.c |  216 +++++++++++++++++++++++++++++++++++++++++++------------
 src/evdev_btn.c  |  138 ++++++++++++++++++++++++++++++++++-
 4 files changed, 322 insertions(+), 56 deletions(-)

New commits:
commit dc88668839f4613d60526aa78aed3e74eebe64ad
Author: Zephaniah E. Hull <warp at agamemnon.b5>
Date:   Thu Jul 13 11:59:25 2006 -0400

    Split the New functions so that structs can be allocated and buttons
    detected, and then stuff that depends on _other_ areas.
    (Specificly, axes and btn have a circular dependency on which one has to
    run first, this solves that.)
    
    Add button names, and a way to get a button number from a name.
    
    Add a function for checking to see if a button exists, takes the number from the previous function.
    
    Change the (unused) state array of pointers in the button struct to an array of pointers to functions for callback.
    
    Implemented the 'touch' feature, on by default if BTN_DIGI_TOUCH exists,
    won't, in rel mode, process x/y data unless it's down, and is used to
    try and make 'pick up stencil, move to other side of digitizer, set back
    down' not jump to the other side of the screen in rel mode.
    (This doesn't work as well as it could, but I'm fairly sure that it's
    due to the quality of the absolute input device I'm using, but feedback
    would be really nice.)
    
    FIXME: Update the manpage for this.




More information about the xorg-commit mailing list