From: Chris Bagwell <ch...@cnpbagwell.com>

Signed-off-by: Chris Bagwell <ch...@cnpbagwell.com>
---
 src/wcmCommon.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/wcmCommon.c b/src/wcmCommon.c
index cd550ea..f77cad7 100644
--- a/src/wcmCommon.c
+++ b/src/wcmCommon.c
@@ -968,7 +968,9 @@ void wcmEvent(WacomCommonPtr common, unsigned int channel,
                        fs->tiltx[0] = ds.tiltx;
                        fs->tilty[0] = ds.tilty;
                }
-               if (RAW_FILTERING(common) && common->wcmModel->FilterRaw && 
ds.device_type != PAD_ID)
+               /* Optionally filter values while in proximity */
+               if (RAW_FILTERING(common) && common->wcmModel->FilterRaw &&
+                   ds.proximity && ds.device_type != PAD_ID)
                {
                        if (common->wcmModel->FilterRaw(common,pChannel,&ds))
                        {
-- 
1.7.3.1


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to