xf86-input-evdev: Changes to 'origin'

Tiago Vignatti vignatti at kemper.freedesktop.org
Thu Jun 14 21:35:37 PDT 2007


 src/evdev.c      |  153 +++++++++-
 src/evdev.h      |  135 +++++++--
 src/evdev_axes.c |  812 ++++++++++++++++++++++++++++++++++---------------------
 src/evdev_btn.c  |  354 +++++++++++++----------
 src/evdev_key.c  |   57 ---
 5 files changed, 969 insertions(+), 542 deletions(-)

New commits:
commit 08a09682f5b6d43181e98bc72782e2b2eec180e5
Author: Zephaniah E. Hull <warp at agamemnon.b5>
Date:   Wed Jun 13 11:05:07 2007 -0400

    Update version using PACKAGE_VERSION_*.

commit 9c9a47210a6c7146f29fd6d05b6f46955a3bee5a
Author: Zephaniah E. Hull <warp at agamemnon.b5>
Date:   Tue Jun 12 11:59:16 2007 -0400

    Move the mode option handling to the Init stage.
    (Sorta ugly placement wise, but the other segfaults.)

commit 2d2c4804f925505e737c2c812687f47840218c93
Author: Zephaniah E. Hull <warp at agamemnon.b5>
Date:   Mon Jun 11 09:08:24 2007 -0400

    evdev.c:
    
        Set and use the X mode control, letting XInput see it properly.
    
        Kill some cruft.
    
    evdev.h:
    
        Set and use the X mode control, letting XInput see it properly.
    
    evdev_axes.c:
    
        Set and use the X mode control, letting XInput see it properly.
    
    evdev_key.c:
    
        Remove some cruft, the bell func can be NULL now, so do so.
    
        Don't bother looking for keys above 0xF7 until we can actually do
        something with them.

commit 6b97bf7a4eaa34ebde4ac7250f660da5bab8164d
Author: Zephaniah E. Hull <warp at agamemnon.b5>
Date:   Wed Jun 6 05:00:29 2007 -0400

    Handle default remapping around existing button targets better.

commit 5c6b3dd86feef58ccf43a710624404031df72f2c
Author: Zephaniah E. Hull <warp at agamemnon.b5>
Date:   Wed Jun 6 04:42:51 2007 -0400

    Move MapButtons_t closer to where it's used.

commit f15636ac529481a9d83e0250ff89690296f96a3d
Author: Zephaniah E. Hull <warp at agamemnon.b5>
Date:   Wed Jun 6 04:41:54 2007 -0400

    Wheel mice work again!
    (Old configs don't.)
    
    evdev.c:
    
        Add EvdevParseMapToButton and EvdevParseMapToButtons to evdev_map_parsers.
    
        Add EvdevParseMapOption to search through evdev_map_parsers.
    
        Fix up EvdevTokenize to handle the evdev_option_token_t changes.
    
        EvdevAxesNew0 after BtnNew0 instead of before now.
        (This isn't the right fix.)
    
    evdev.h:
    
        EVDEV_MAXBUTTONS -> BTN_MAX.
    
        Redid evdevBtnRec with the new mapping goodness.
    
        Removed v_min and v_max from evdevAbsRec.
    
        Reworked evdev_option_token_t, no union, no is_chain.
        If it's a chain, it still has a string, but the chain pointer is set.
    
        EvdevParseMapToButton, EvdevParseMapToButtons, and EvdevParseMapOption.
    
    evdev_axes.c:
    
        Kill off EvdevAxesMapButton, a variant lives in evdev_btn.c now.
    
        Changes for the evdev_option_token_t changes.
    
        Use EvdevParseMapOption instead of repeating the contents twice.
    
        Disable EV_ABS_V_INVERT for the moment. (Better fix maybe needed.)
    
    evdev_btn.c:
    
        s/Ptr /Rec */g
    
        EvdevMapButton and parser.
    
        EvdevMapButtons and parser.
    
        Nuke EvdevBtnCalcRemap as a whole.
    
        Move everything but the alloc to New1 from New0.
    
        New mapping code, same guts os the axes mapping code even.

commit 276685fa1dfc7c2d78178173545df3e28bc82544
Author: Zephaniah E. Hull <warp at agamemnon.b5>
Date:   Tue Jun 5 23:55:50 2007 -0400

    Fix REL mode.
    
    Make buttons mostly work again. (Short term fix.)
    
    NOTE: Wheel to button remapping is still missing!

commit 27a86f81683794c1f7cd3bc6d474898ff69a7b6e
Author: Zephaniah E. Hull <warp at agamemnon.b5>
Date:   Tue Jun 5 23:19:59 2007 -0400

    Update the copyright notices for me to include 2007.
    
    Finish merging copyright notices. (evdev_key.c was missed.)

commit 26dbf38041ebe67e7ab399a6746684a404ea2121
Merge: 2943558... 9eb546e...
Author: Zephaniah E. Hull <warp at agamemnon.b5>
Date:   Tue Jun 5 23:14:46 2007 -0400

    Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/driver/xf86-input-evdev
    
    Conflicts:
    
    	src/evdev.h

commit 294355842ba9fb3cb3bbd7bfd60c9ca3ce704475
Author: Zephaniah E. Hull <warp at agamemnon.b5>
Date:   Tue Jun 5 23:12:58 2007 -0400

    Alright, this is a really big commit that breaks stuff.
    
    evdev.h:
    
        Switch to flags in the abs and rel structs.
    
        Add the axes struct, and defines.
    
        Rework the abs and rel structs, moving stuff to the axes struct and moving
        everything to the new mapping handling.
    
        Add the structs and function declarations for the new tokenization stuff,
        parsing stuff, and mapping stuff.
    
    evdev.c: Add EvdevTokenize, and the evdev_map_parsers list.
    
    evdev_axes.c:
    
        Basicly a full rewrite, big, messy.
    
        We now use a completely different mapping setup for axes, and mapping to
        buttons is currently missing.
    
        However we now handle ABS_CALIB and ABS_AREA, including rotation in both
        rel and abs modes.
    
    evdev_btn.c:
    
        Disable lots of code and break things horribly, we compile but we don't
        work very well.
    
        Fixing this is next on my todo list.



More information about the xorg-commit mailing list