[PATCH 00/19] input API cleanup round 2

Peter Hutterer peter.hutterer at who-t.net
Sun Sep 5 19:52:36 PDT 2010


This is the second lot of input API cleanups and it goes on top of the
patches already reviewed earlier. The full branch is available in my
people.fdo directory.

Most notable here is the removal of the IDevRec struct which seemed somewhat
superfluous. Most of the rest is minor cleanup, some could be cherry-picked
straight to master (but conflicts made that too hard to bother).

Both evdev and synaptics master branches will work with the input-api
branch.

Cheers,
  Peter

The following changes since commit be978c7fc97e98ef1bc7b20c6c0740d8a81b609a:

  xfree86: Purge kbdCustomKeycodes from xf86Info. (2010-09-01 15:27:20 +1000)

are available in the git repository at:
  git://people.freedesktop.org/~whot/xserver.git input-api

Peter Hutterer (19):
      input: constify valuators passed in by input drivers.
      Remove atom field from InputInfoRec.
      xfree86: remove conversion procs and close proc from InputInfoRec.
      xfree86: skip a few NULL initialization, calloc does it for us.
      xfree86: minor comment fix. HAL → config backend
      xfree86: move a declaration down to the block it is used in.
      xfree86: remove some ifdef 0 code.
      xfree86: remove extraOptions field from IDevRec.
      xfree86: Remove extraOptions parameter from xf86CollectInputOptions.
      xfree86: plug minor memory leak.
      xfree86: remove IDevRec, replace with InputInfoRec.
      xfree86: update comment for xf86DeleteInput
      xfree86: remove XI_PRIVATE macro, unused.
      xfree86: remove superfluous decl of InputInfoRec.
      xfree86: don't export xf86InputDevs.
      xfree86: remove {Dont}SendCoreEvents defines
      xfree86: remove TS_Raw and TS_Scaled defines.
      xfree86: move XI_VERIFY_VALUATORS to the source file it's used in.
      xfree86: only call UnInit if the driver was set.

 dix/getevents.c                |    6 +-
 hw/xfree86/common/xf86Config.c |   97 ++++++++-------------
 hw/xfree86/common/xf86Init.c   |    2 +-
 hw/xfree86/common/xf86Option.c |   46 ++---------
 hw/xfree86/common/xf86Xinput.c |  190 +++++++++++++++++----------------------
 hw/xfree86/common/xf86Xinput.h |   54 +++---------
 hw/xfree86/common/xf86str.h    |   12 +--
 include/input.h                |    6 +-
 8 files changed, 148 insertions(+), 265 deletions(-)


More information about the xorg-devel mailing list