Revision 8c86c34...

Go back to digest for 14th October 2012

Optimization in Graphics

Alexander Maret-Huskinson committed changes in [wacomtablet/marethuskinson] /:

Reworked tablet detection and information.

Reworked the whole tablet detection process. It is now possible to
detect multiple tablet devices which are connected at the same time if
they are not of the same type. Still as the rest of the code is only
capable of handling one device, only the first tablet is actually used.
However it should now be impossible that devices (stylus/pad/...) of
different tablets are accidentally mixed up.

Also improved the amount of information which is actually queried from
the devices. This is necessary for libwacom support, as we do need i.e.
the full path to the input device.

Added a TabletFinder class which does all the hard work of detecting
as much information as possible of a device. At the moment it only
queries X11 for device information but soon it will query the filesystem
and the USB subsystem so we can support Intuos4 Leds.

Disabled non-working unit tests for now which have to be rewritten to
handle the new tablet information structures.

File Changes

Added 4 files
  •   src/common/deviceinformation.cpp
  •   src/common/deviceinformation.h
  •   src/kded/tabletfinder.cpp
  •   src/kded/tabletfinder.h
Modified 24 files
  •   src/common/CMakeLists.txt
  •   src/common/dbustabletinterface.h
  •   src/common/tabletinfo.cpp
  •   src/common/tabletinfo.h
  •   src/common/tabletinformation.cpp
  •   src/common/tabletinformation.h
  •   src/common/x11input.cpp
  •   src/common/x11input.h
  •   src/common/x11inputdevice.cpp
  •   src/common/x11inputdevice.h
  •   src/common/x11tabletfinder.cpp
  •   src/common/x11tabletfinder.h
  •   src/kded/CMakeLists.txt
  •   src/kded/eventnotifier.h
  •   src/kded/tabletdaemon.cpp
  •   src/kded/tabletdaemon.h
  •   src/kded/tablethandler.cpp
  •   src/kded/xeventnotifier.cpp
  •   src/kded/xeventnotifier.h
  •   tests/kded/CMakeLists.txt
  •   tests/kded/tabletdependenttest.cpp
  •   tests/kded/tabletdependenttest.h
  •   tests/kded/testtabletbackend.cpp
  •   tests/kded/testtablethandler.cpp
28 files changed in total