Make room to report pen and touch events simultaneously

Signed-off-by: Ping Cheng <pi...@wacom.com>
---
v2: added comments as Chris' suggested.
---
 src/xf86WacomDefs.h |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/xf86WacomDefs.h b/src/xf86WacomDefs.h
index fe078ec..3170ea0 100644
--- a/src/xf86WacomDefs.h
+++ b/src/xf86WacomDefs.h
@@ -1,6 +1,6 @@
 /*
  * Copyright 1995-2002 by Frederic Lepied, France. <lep...@xfree86.org>
- * Copyright 2002-2010 by Ping Cheng, Wacom. <pi...@wacom.com>
+ * Copyright 2002-2013 by Ping Cheng, Wacom. <pi...@wacom.com>
  * 
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU General Public License
@@ -397,9 +397,9 @@ extern WacomDeviceClass gWacomISDV4Device;
 #define TILT_REQUEST_FLAG       1
 #define TILT_ENABLED_FLAG       2
 
-#define MAX_CHANNELS 17
+#define MAX_FINGERS 16
+#define MAX_CHANNELS (MAX_FINGERS+2) /* one channel for stylus/mouse. The 
other one for pad */
 #define PAD_CHANNEL (MAX_CHANNELS-1)
-#define MAX_FINGERS (MAX_CHANNELS-1)
 
 typedef struct {
        int wcmZoomDistance;           /* minimum distance for a zoom touch 
gesture */
-- 
1.7.10.4


------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to