[PATCH v2 00/11] Various input configuration fixes

Dan Nicholson dbn.lists at gmail.com
Mon Jun 7 20:39:47 PDT 2010


This is an update to the patchset sent here:

http://lists.freedesktop.org/archives/xorg-devel/2010-May/008862.html

The first 4 patches are cleanup. The const InputAttributes members patch
has been dropped since the duplicate and free functions added in
86303a33 really require that they not be const.

Patch 5 is just rework for the following patches. The rest add new
features to the InputClass matching that I (or Peter) saw as deficient.
They break the InputAttributes ABI repeatedly.

Dan Nicholson (11):
  config/hal: don't leak the input.tags property
  config/udev: Add verbose info when fetching udev properties
  config/hal: Missing newline in log message
  xfree86: Constify InputClass functions
  xfree86: Refactor InputClass matching code
  xfree86: Add MatchOS InputClass entry for operating system matching
  xfree86: Match devices based on PnP ID
  xfree86: Match devices based on USB ID
  config: Script to convert HAL fdi settings to InputClass sections
  xfree86: Allow multiple InputClass Match* entries for && matching
  xfree86: Match devices based on current driver setting

 config/Makefile.am                   |    2 +-
 config/fdi2iclass.py                 |  202 +++++++++++++++++++++++++++++++
 config/hal.c                         |   32 +++++-
 config/udev.c                        |   62 +++++++++-
 configure.ac                         |    2 +-
 dix/inpututils.c                     |    6 +
 hw/xfree86/common/xf86Xinput.c       |  222 +++++++++++++++++++++++-----------
 hw/xfree86/doc/man/xorg.conf.man.pre |   71 +++++++++--
 hw/xfree86/parser/InputClass.c       |  191 +++++++++++++++++++++++------
 hw/xfree86/parser/xf86Parser.h       |   20 +++-
 hw/xfree86/parser/xf86tokens.h       |    4 +
 include/dix-config.h.in              |    3 +
 include/input.h                      |    2 +
 test/input.c                         |   24 ++++
 14 files changed, 711 insertions(+), 132 deletions(-)
 create mode 100755 config/fdi2iclass.py



More information about the xorg-devel mailing list