xf86-input-evdev: Changes to 'master'
Zephaniah E. Hull
warp at kemper.freedesktop.org
Wed Jun 6 01:43:15 PDT 2007
src/evdev.c | 63 +++++++--
src/evdev.h | 35 +++--
src/evdev_axes.c | 129 ++++---------------
src/evdev_btn.c | 360 +++++++++++++++++++++++++++++--------------------------
4 files changed, 290 insertions(+), 297 deletions(-)
New commits:
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.
More information about the xorg-commit
mailing list