Add support to Cintiq 13HD and DTK2241

Signed-off-by: Ping Cheng <pingc@wacom.com>
release-0.9.6

Signed-off-by: Ping Cheng <pingc@wacom.com>
Backport rebasePressure from xf86-input-wacom

to reset the minimum pressure.

Signed-off-by: Ping Cheng <pingc@wacom.com>
Add a new stylus (0x100802) for Intuos5 and Cintiqs

Signed-off-by: Ping Cheng <pingc@wacom.com>
Backport idtotype from xf86-input-wacom

Signed-off-by: Ping Cheng <pingc@wacom.com>
release-0.9.7

Signed-off-by: Ping Cheng <pingc@wacom.com>
Fix timestr buffer size for custom debug

Signed-off-by: Joachim de Groot <joachim.de.groot@dfs.de>
Signed-off-by: Ping Cheng <pingc@wacom.com>
Add support for Intuos Pro series

Signed-off-by: Ping Cheng <pingc@wacom.com>
linuxwacom 0.9.8

Signed-off-by: Ping Cheng <pingc@wacom.com>
Backport tool type initialization from xf86-input-wacom

Some users may use input-wacom with the X driver included in this
package. TOOL_BTN_FINGER is no longer used for pad in input-wacom.
Backport the proper tool type support to X driver.

Signed-off-by: Ping Cheng <pingc@wacom.com>
wacomxrrd - Don't exit on xerror

The default behavior of an X application is to exit when an
xerror is encountered. More sophisticated applications have
error handlers and handle xerrors gracefully. The cause of
such errors is often hard to predict. Thus a general handler
and a graceful treatment of xerrors is advisable.

Signed-off-by: Egbert Eich <eich@suse.de>
Signed-off-by: Ping Cheng <pingc@wacom.com>
Add missing header file fcntl.h to wcmConfig.c

This fixes a build error:
./wcmConfig.c:712: error: 'O_RDWR' undeclared (first use in this function)
./wcmConfig.c:712: error: (Each undeclared identifier is reported only once
./wcmConfig.c:712: error: for each function it appears in.)

Signed-off-by: Stefan Dirsch <sndirsch@suse.com>
Signed-off-by: Egbert Eich <eich@suse.de>
Signed-off-by: Ping Cheng <pingc@wacom.com>
Back out some CUSTOM_DEBUG specific code

Signed-off-by: Egbert Eich <eich@suse.de>
Signed-off-by: Ping Cheng <pingc@wacom.com>
Move CUSTOM_DEBUG function defines to a header

Signed-off-by: Egbert Eich <eich@suse.de>
Signed-off-by: Ping Cheng <pingc@wacom.com>
Change format of time stamp string

Signed-off-by: Egbert Eich <eich@suse.de>
Signed-off-by: Ping Cheng <pingc@wacom.com>
Always build wcmCustomDebug.c

This allows to use timestamps even when CUSTOM_DEBUG isn't enabled.

Signed-off-by: Egbert Eich <eich@suse.de>
Signed-off-by: Ping Cheng <pingc@wacom.com>
Do not spam with CUSTOM_DEBUG messages when this debug mode is disabled

Signed-off-by: Egbert Eich <eich@suse.de>
Signed-off-by: Ping Cheng <pingc@wacom.com>
Consolidate code that warns about worn out pressure sensors

Both the wcmCustomDebug.c and wcmCommon.c had code to detect worn
pens and warn about it.
Bring both together and unify the detection/warning code.

Signed-off-by: Egbert Eich <eich@suse.de>
Signed-off-by: Ping Cheng <pingc@wacom.com>
Add logging for proximity

This removes some of the custom debug code.

Signed-off-by: Egbert Eich <eich@suse.de>
Signed-off-by: Ping Cheng <pingc@wacom.com>
Change LastPenSerial -> LastToolSerial

Signed-off-by: Egbert Eich <eich@suse.de>
Signed-off-by: Ping Cheng <pingc@wacom.com>