Skip to content

Commit fe4e940

Browse files
jigpubentiss
authored andcommitted
HID: wacom: Recognize new MobileStudio Pro PID
A new PID is in use for repaired MobileStudio Pro devices. Add it to the list of devices that need special-casing in wacom_wac_pad_event. Signed-off-by: Jason Gerecke <[email protected]> Signed-off-by: Benjamin Tissoires <[email protected]>
1 parent abb33ee commit fe4e940

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

drivers/hid/wacom_wac.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2096,14 +2096,16 @@ static void wacom_wac_pad_event(struct hid_device *hdev, struct hid_field *field
20962096
(hdev->product == 0x34d || hdev->product == 0x34e || /* MobileStudio Pro */
20972097
hdev->product == 0x357 || hdev->product == 0x358 || /* Intuos Pro 2 */
20982098
hdev->product == 0x392 || /* Intuos Pro 2 */
2099-
hdev->product == 0x398 || hdev->product == 0x399)) { /* MobileStudio Pro */
2099+
hdev->product == 0x398 || hdev->product == 0x399 || /* MobileStudio Pro */
2100+
hdev->product == 0x3AA)) { /* MobileStudio Pro */
21002101
value = (field->logical_maximum - value);
21012102

21022103
if (hdev->product == 0x357 || hdev->product == 0x358 ||
21032104
hdev->product == 0x392)
21042105
value = wacom_offset_rotation(input, usage, value, 3, 16);
21052106
else if (hdev->product == 0x34d || hdev->product == 0x34e ||
2106-
hdev->product == 0x398 || hdev->product == 0x399)
2107+
hdev->product == 0x398 || hdev->product == 0x399 ||
2108+
hdev->product == 0x3AA)
21072109
value = wacom_offset_rotation(input, usage, value, 1, 2);
21082110
}
21092111
else {

0 commit comments

Comments
 (0)