libwacom 0.8
Drop include <config.h> from the public header file

Public headers shouldn't include config.h, it may cause wrong behaviour.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Acked-by: Ping Cheng <pingc@wacom.com>
Hide the include guard #endif from doxygen

Avoids a warning about uneven ifdef/endif pairs

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Acked-by: Ping Cheng <pingc@wacom.com>
doc: drop SYMBOL_CACHE_SIZE

Obsolete in newer versions of doxygen, and we use the default anyway.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
test: statically link libwacom into the tests

Causes the tests to be actual binaries instead of libtool linker flags, making
it easier to run them in a debugger. Since we don't install the tests anyway,
this has no effect on system installations.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
tools: fix filtering by bustype when listing the database

And print a divider to make it a bit easier to recognise devices.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Tested-by: Ping Cheng <pinglinux@gmail.com>
Fix libwacom typos

Typos in data/cintiq-22hdt.tablet, data/cintiq-22hdt.tablet,
and libwacom/libwacom-database.c.

Signed-off-by: Ping Cheng <pingc@wacom.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Add .data files for Intuos series

A new key word, TouchSwitch, is added to wacom.example to
indicate if the device has touch switch or not.

SVG file names are added in [Device] Layout= as comments.
But they are not included in this commit. We need people
with Inkscape experience to create the SVG files.

Signed-off-by: Ping Cheng <pingc@wacom.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
add data file for CTH-470

This tablet is known as Wacom Pen & Touch (2nd generation), with 16
points multitouch capability. Layout file is copied from
bamboo-2fg-4x5.svg.

Signed-off-by: Frederic Crozat <fcrozat@suse.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Add data file for DTU-1031

Signed-off-by: Ping Cheng <pingc@wacom.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
data: add Cintiq Companion Hybrid (DTH-A1300) tablet

Signed-off-by: Jason Gerecke <killertofu@gmail.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
libwacom 0.9

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Fix double space character

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
data: Add support for four new ISDv4 tablets

Signed-off-by: Jason Gerecke <killertofu@gmail.com>
Discard hid as bus

Since kernel commit bbe3175408cde792fbaa5bd1e41e430ea9e4fb4f
(HID: input: fix input sysfs path for hid devices) available since v3.14,
Bluetooth input devices are registered on top of the HID parent, not
the Bluetooth one.
That means that libwacom currently consider their transport bus as hid,
instead of bluetooth or usb.

This change is also required for USB if the path is taken to switch from
a plain USB driver to a HID one (https://patchwork.kernel.org/patch/4454631/)

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
data: Add support for ISDv4 0x12C

Signed-off-by: Jason Gerecke <killertofu@gmail.com>