summaryrefslogtreecommitdiff
path: root/src/wcmUSB.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wcmUSB.c')
-rw-r--r--src/wcmUSB.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/wcmUSB.c b/src/wcmUSB.c
index 48a1f95..980dac3 100644
--- a/src/wcmUSB.c
+++ b/src/wcmUSB.c
@@ -1653,19 +1653,6 @@ static void usbDispatchEvents(InputInfoPtr pInfo)
{
usbParseKeyEvent(common, event, channel);
usbParseBTNEvent(common, event, private->wcmBTNChannel);
-
- /* send PAD events now for generic devices. Otherwise,
- * they are filtered out when there are no motion events.
- */
- if ((common->wcmProtocolLevel == WCM_PROTOCOL_GENERIC)
- && (common->wcmChannel[private->wcmBTNChannel].dirty))
- {
- DBG(10, common, "Dirty flag set on channel %d; "
- "sending event.\n", private->wcmBTNChannel);
- common->wcmChannel[private->wcmBTNChannel].dirty = FALSE;
- wcmEvent(common, private->wcmBTNChannel,
- &common->wcmChannel[private->wcmBTNChannel].work);
- }
}
} /* next event */