diff options
author | Ping Cheng <pinglinux@gmail.com> | 2012-06-28 16:48:17 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-06-28 16:59:18 -0700 |
commit | adad004e1a50f8c64d9f116cd4934da937b51e27 (patch) | |
tree | 3b0bede183acc58baad810e5db674c5571749703 /drivers/input/tablet | |
parent | 84b63ad8477c822edbeb1e310b201609f33522ec (diff) | |
download | linux-3.10-adad004e1a50f8c64d9f116cd4934da937b51e27.tar.gz linux-3.10-adad004e1a50f8c64d9f116cd4934da937b51e27.tar.bz2 linux-3.10-adad004e1a50f8c64d9f116cd4934da937b51e27.zip |
Input: wacom - BTN_TOOL_DOUBLETAP is not a valid device_type
It is replaced by BTN_TOOL_FINGER.
Signed-off-by: Ping Cheng <pingc@wacom.com>
Tested-by: Rafi Rubin <rafi@seas.upenn.edu>
Reviewed-by: Jason Gerecke <killertofu@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/tablet')
-rw-r--r-- | 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 9e8fdcf005a..c24ab5468e0 100644 --- a/drivers/input/tablet/wacom_sys.c +++ b/drivers/input/tablet/wacom_sys.c @@ -503,7 +503,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; } } |