On Thu, Feb 28, 2013 at 11:36 AM, Chris Bagwell <ch...@cnpbagwell.com> wrote:
>
> On Tue, Feb 26, 2013 at 3:07 PM, Ping Cheng <pingli...@gmail.com> wrote:
>>
>> Make room to report pen and touch events simultaneously
>>
>> Signed-off-by: Ping Cheng <pi...@wacom.com>
>> ---
>>  src/xf86WacomDefs.h |    6 +++---
>>  1 file changed, 3 insertions(+), 3 deletions(-)
>>
>> diff --git a/src/xf86WacomDefs.h b/src/xf86WacomDefs.h
>> index fe078ec..091e5c8 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)
>
>
> Could you add a comment for what +2 is for?  Something like:
>
> MAX_FINGERS + 1 /* Stylus */ + 1 /* PAD */


Thank you Chris for the suggestion and your acked-by for the other
patch. I'll send a v2 for this patch in a moment.

Ping

>>  #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
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Everyone hates slow websites. So do we.
>> Make your web apps faster with AppDynamics
>> Download AppDynamics Lite for free today:
>> http://p.sf.net/sfu/appdyn_d2d_feb
>> _______________________________________________
>> Linuxwacom-devel mailing list
>> Linuxwacom-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel
>
>

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to