Update MAX_CHANNELS definition

Make room to report pen and touch events simultaneously

Signed-off-by: Ping Cheng <pingc@wacom.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Jason Gerecke <killertofu@gmail.com>
Clean up device_type initialization for tool on tablet

usbInitToolType retrieves device type from the kernel when tool
is on the tablet at X server startup. No need to do it again later.

Since kernel does not have a specific device type for PAD, we have
to check the actual events to set its type.

Signed-off-by: Ping Cheng <pingc@wacom.com>
Acked-by: Chris Bagwell <chris@cnpbagwell.com>
Reviewed-by: Jason Gerecke <killertofu@gmail.com>
Consolidate calls to wcmEvent into one statement

The extra wcmEvent call was to deal with generic PAD events received
without motion events in the same packet. Those PAD events would be
filtered out by the device type retrieving code later.

Signed-off-by: Ping Cheng <pingc@wacom.com>
Acked-by: Chris Bagwell <chris@cnpbagwell.com>
Reviewed-by: Jason Gerecke <killertofu@gmail.com>
Make touchscreens (WCM_LCD) direct touch devices

Tested with a tablet pc, allowing finger scrolling in GTK3.

Signed-off-by: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Tested-by: Jason Gerecke <killertofu@gmail.com>