* [PATCH 3/4] input - wacom: BTN_TOOL_DOUBLETAP is not a valid device_type
@ 2012-06-25 21:36 Ping Cheng
0 siblings, 0 replies; only message in thread
From: Ping Cheng @ 2012-06-25 21:36 UTC (permalink / raw)
To: linux-input; +Cc: Ping Cheng, Ping Cheng
It is replaced by BTN_TOOL_FINGER.
Signed-off-by: Ping Cheng <pingc@wacom.com>
---
drivers/input/tablet/wacom_sys.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/input/tablet/wacom_sys.c b/drivers/input/tablet/wacom_sys.c
index 2714ce6..726eb64 100644
--- a/drivers/input/tablet/wacom_sys.c
+++ b/drivers/input/tablet/wacom_sys.c
@@ -505,7 +505,7 @@ static int wacom_retrieve_hid_descriptor(struct usb_interface *intf,
if (intf->cur_altsetting->desc.bInterfaceNumber == 0) {
features->device_type = 0;
} else if (intf->cur_altsetting->desc.bInterfaceNumber == 2) {
- features->device_type = BTN_TOOL_DOUBLETAP;
+ features->device_type = BTN_TOOL_FINGER;
features->pktlen = WACOM_PKGLEN_BBTOUCH3;
}
}
--
1.7.7.6
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2012-06-25 21:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-25 21:36 [PATCH 3/4] input - wacom: BTN_TOOL_DOUBLETAP is not a valid device_type Ping Cheng
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.