Skip to contentSkip to conversation

input - wacom: BTN_TOOL_DOUBLETAP is not a valid device_type

PATCH In review Ping Cheng 1 participant 1 message Jun 25, 2012

Subsystems (2)
lore
Share & tools
lore

Ping Cheng

author
#0 lore raw

PATCH 3/4 input - wacom: BTN_TOOL_DOUBLETAP is not a valid device_type

It is replaced by BTN_TOOL_FINGER.

---
 drivers/input/tablet/wacom_sys.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/input/tablet/wacom_sys.c +1 -1
index 2714ce6..726eb64 100644
@@ -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;
 		}
 	}
Signature · 1 line
1.7.7.6