---
src/wcmUSB.c | 2 --
src/xf86WacomDefs.h | 4 ----
2 files changed, 6 deletions(-)
diff --git a/src/wcmUSB.c b/src/wcmUSB.c
index dca0751..e20a3e2 100644
--- a/src/wcmUSB.c
+++ b/src/wcmUSB.c
@@ -1307,8 +1307,6 @@ static void usbParseKeyEvent(WacomCommonPtr common,
if (common->wcmProtocolLevel == WCM_PROTOCOL_4)
ds->device_id = ERASER_DEVICE_ID;
ds->proximity = (event->value != 0);
- if (ds->proximity)
- ds->proximity = ERASER_PROX;
DBG(6, common,
"USB eraser detected %x (value=%d)\n",
event->code, event->value);
diff --git a/src/xf86WacomDefs.h b/src/xf86WacomDefs.h
index 279d359..8be7103 100644
--- a/src/xf86WacomDefs.h
+++ b/src/xf86WacomDefs.h
@@ -96,10 +96,6 @@
#define ABS_MT_SLOT 0x2f
#endif
-/* defines to discriminate second side button and the eraser */
-#define ERASER_PROX 4
-#define OTHER_PROX 1
-
/******************************************************************************
* Forward Declarations
*****************************************************************************/
--
1.9.2
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos. Get
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Linuxwacom-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel