Skip to content

Commit bbbe3ac

Browse files
PinglinuxJiri Kosina
authored andcommitted
HID: wacom: add new MobileStudio Pro 13 support
wacom_wac_pad_event is the only routine we need to update. Signed-off-by: Ping Cheng <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
1 parent 362c571 commit bbbe3ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/hid/wacom_wac.c

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

20992099
if (hdev->product == 0x357 || hdev->product == 0x358 ||
21002100
hdev->product == 0x392)
21012101
value = wacom_offset_rotation(input, usage, value, 3, 16);
21022102
else if (hdev->product == 0x34d || hdev->product == 0x34e ||
2103-
hdev->product == 0x399)
2103+
hdev->product == 0x398 || hdev->product == 0x399)
21042104
value = wacom_offset_rotation(input, usage, value, 1, 2);
21052105
}
21062106
else {

0 commit comments

Comments
 (0)