diff options
Diffstat (limited to 'drivers/input/tablet/wacom_sys.c')
-rw-r--r-- | drivers/input/tablet/wacom_sys.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/input/tablet/wacom_sys.c b/drivers/input/tablet/wacom_sys.c index d27c9d91630..958b4eb6369 100644 --- a/drivers/input/tablet/wacom_sys.c +++ b/drivers/input/tablet/wacom_sys.c | |||
@@ -229,13 +229,6 @@ static int wacom_parse_hid(struct usb_interface *intf, struct hid_descriptor *hi | |||
229 | get_unaligned_le16(&report[i + 3]); | 229 | get_unaligned_le16(&report[i + 3]); |
230 | i += 4; | 230 | i += 4; |
231 | } | 231 | } |
232 | } else if (usage == WCM_DIGITIZER) { | ||
233 | /* max pressure isn't reported | ||
234 | features->pressure_max = (unsigned short) | ||
235 | (report[i+4] << 8 | report[i + 3]); | ||
236 | */ | ||
237 | features->pressure_max = 255; | ||
238 | i += 4; | ||
239 | } | 232 | } |
240 | break; | 233 | break; |
241 | 234 | ||
@@ -291,13 +284,6 @@ static int wacom_parse_hid(struct usb_interface *intf, struct hid_descriptor *hi | |||
291 | pen = 1; | 284 | pen = 1; |
292 | i++; | 285 | i++; |
293 | break; | 286 | break; |
294 | |||
295 | case HID_USAGE_UNDEFINED: | ||
296 | if (usage == WCM_DESKTOP && finger) /* capacity */ | ||
297 | features->pressure_max = | ||
298 | get_unaligned_le16(&report[i + 3]); | ||
299 | i += 4; | ||
300 | break; | ||
301 | } | 287 | } |
302 | break; | 288 | break; |
303 | 289 | ||