2185
|
1 |
--- linuxwacom-0.8.4-2.orig/src/xdrv/xf86Wacom.c 2009-09-16 15:54:04.000000000 -0400
|
|
2 |
+++ linuxwacom-0.8.4-2/src/xdrv/xf86Wacom.c 2009-09-20 15:24:01.299896648 -0400
|
|
3 |
@@ -984,7 +984,11 @@
|
|
4 |
/* while there are whole packets present, check the packet length
|
|
5 |
* for serial ISDv4 packet since it's different for pen and touch
|
|
6 |
*/
|
|
7 |
+#ifdef WCM_ENABLE_LINUXINPUT
|
|
8 |
if (common->wcmForceDevice == DEVICE_ISDV4 && common->wcmDevCls != &gWacomUSBDevice)
|
|
9 |
+#else
|
|
10 |
+ if (common->wcmForceDevice == DEVICE_ISDV4)
|
|
11 |
+#endif
|
|
12 |
{
|
|
13 |
common->wcmPktLength = 9;
|
|
14 |
data = common->buffer;
|
|
15 |
@@ -1008,7 +1012,9 @@
|
1571
|
16 |
}
|
|
17 |
pos += cnt;
|
|
18 |
|
|
19 |
+#ifdef WCM_ENABLE_LINUXINPUT
|
|
20 |
if (common->wcmDevCls != &gWacomUSBDevice)
|
|
21 |
+#endif
|
|
22 |
{
|
|
23 |
data = common->buffer + pos;
|
2185
|
24 |
if ( data[0] & 0x18 )
|