Commit adad004e authored by Ping Cheng's avatar Ping Cheng Committed by Dmitry Torokhov

Input: wacom - BTN_TOOL_DOUBLETAP is not a valid device_type

It is replaced by BTN_TOOL_FINGER.
Signed-off-by: default avatarPing Cheng <pingc@wacom.com>
Tested-by: default avatarRafi Rubin <rafi@seas.upenn.edu>
Reviewed-by: default avatarJason Gerecke <killertofu@gmail.com>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent 84b63ad8
......@@ -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;
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment