The use of each of these variables was eradicated around the turn of 2010 (commits d7dcb7d, 57fdd26, and f934866).
Signed-off-by: Jason Gerecke <killert...@gmail.com> --- src/wcmCommon.c | 1 - src/wcmConfig.c | 3 --- src/xf86WacomDefs.h | 8 -------- 3 files changed, 12 deletions(-) diff --git a/src/wcmCommon.c b/src/wcmCommon.c index 6abb23b..ce54c70 100644 --- a/src/wcmCommon.c +++ b/src/wcmCommon.c @@ -794,7 +794,6 @@ void wcmSendEvents(InputInfoPtr pInfo, const WacomDeviceState* ds) priv->oldStripY = 0; priv->oldRot = 0; priv->oldThrottle = 0; - priv->devReverseCount = 0; priv->old_serial = serial; priv->old_device_id = id; wcmUpdateSerial(pInfo, 0, 0); diff --git a/src/wcmConfig.c b/src/wcmConfig.c index a8077f9..d5652e9 100644 --- a/src/wcmConfig.c +++ b/src/wcmConfig.c @@ -88,9 +88,6 @@ static int wcmAllocate(InputInfoPtr pInfo) priv->strip_default[STRIP_RIGHT_DN] = 5; priv->naxes = 6; /* Default number of axes */ - /* JEJ - throttle sampling code */ - priv->throttleLimit = -1; - common->wcmDevices = priv; /* tool */ diff --git a/src/xf86WacomDefs.h b/src/xf86WacomDefs.h index 476d94d..2d5fedf 100644 --- a/src/xf86WacomDefs.h +++ b/src/xf86WacomDefs.h @@ -274,8 +274,6 @@ struct _WacomDeviceRec /* state fields in device coordinates */ int currentX; /* current X position */ int currentY; /* current Y position */ - int currentSX; /* current screen X position in screen coords */ - int currentSY; /* current screen Y position in screen coords */ int oldX; /* previous X position */ int oldY; /* previous Y position */ int oldZ; /* previous pressure */ @@ -292,12 +290,6 @@ struct _WacomDeviceRec int oldCursorHwProx; /* previous cursor hardware proximity */ int old_device_id; /* last in prox device id */ unsigned int old_serial;/* last in prox tool serial number */ - int devReverseCount; /* Relative ReverseConvert called twice each movement*/ - - /* JEJ - throttle */ - int throttleStart; /* time in ticks for last wheel movement */ - int throttleLimit; /* time in ticks for next wheel movement */ - int throttleValue; /* current throttle value */ /* JEJ - filters */ int pPressCurve[FILTER_PRESSURE_RES + 1]; /* pressure curve */ -- 1.9.1 ------------------------------------------------------------------------------ Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test & Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees _______________________________________________ Linuxwacom-devel mailing list Linuxwacom-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel