Skip to content

Commit 6e2abc6

Browse files
skomrabentiss
authored andcommitted
HID: wacom: generic: add touchring adjustment for 2nd Gen Pro Small
Add the product ID for the 2nd Generation Intuos Pro Small to the touchring coordinate adjustment block. Signed-off-by: Aaron Armstrong Skomra <[email protected]> Reviewed-by: Ping Cheng <[email protected]> Signed-off-by: Benjamin Tissoires <[email protected]>
1 parent 384225c commit 6e2abc6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

drivers/hid/wacom_wac.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2029,10 +2029,12 @@ static void wacom_wac_pad_event(struct hid_device *hdev, struct hid_field *field
20292029
if (hdev->vendor == 0x56a &&
20302030
(hdev->product == 0x34d || hdev->product == 0x34e || /* MobileStudio Pro */
20312031
hdev->product == 0x357 || hdev->product == 0x358 || /* Intuos Pro 2 */
2032+
hdev->product == 0x392 || /* Intuos Pro 2 */
20322033
hdev->product == 0x399)) { /* MobileStudio Pro */
20332034
value = (field->logical_maximum - value);
20342035

2035-
if (hdev->product == 0x357 || hdev->product == 0x358)
2036+
if (hdev->product == 0x357 || hdev->product == 0x358 ||
2037+
hdev->product == 0x392)
20362038
value = wacom_offset_rotation(input, usage, value, 3, 16);
20372039
else if (hdev->product == 0x34d || hdev->product == 0x34e ||
20382040
hdev->product == 0x399)

0 commit comments

Comments
 (0)