diff options
author | Ping Cheng <pinglinux@gmail.com> | 2019-09-04 22:43:23 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2019-09-05 15:01:39 +0200 |
commit | bbbe3ac8f943b68f288111ad0e43a0de576c4fa6 (patch) | |
tree | 5aaba6e13efa548189bc803f6b23621f6289ec3f /drivers/hid | |
parent | HID: wacom: do not call hid_set_drvdata(hdev, NULL) (diff) | |
download | linux-bbbe3ac8f943b68f288111ad0e43a0de576c4fa6.tar.xz linux-bbbe3ac8f943b68f288111ad0e43a0de576c4fa6.zip |
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 <ping.cheng@wacom.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid')
-rw-r--r-- | drivers/hid/wacom_wac.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/hid/wacom_wac.c b/drivers/hid/wacom_wac.c index 6b739c1bda99..85a3082837f6 100644 --- a/drivers/hid/wacom_wac.c +++ b/drivers/hid/wacom_wac.c @@ -2093,14 +2093,14 @@ static void wacom_wac_pad_event(struct hid_device *hdev, struct hid_field *field (hdev->product == 0x34d || hdev->product == 0x34e || /* MobileStudio Pro */ hdev->product == 0x357 || hdev->product == 0x358 || /* Intuos Pro 2 */ hdev->product == 0x392 || /* Intuos Pro 2 */ - hdev->product == 0x399)) { /* MobileStudio Pro */ + hdev->product == 0x398 || hdev->product == 0x399)) { /* MobileStudio Pro */ value = (field->logical_maximum - value); if (hdev->product == 0x357 || hdev->product == 0x358 || hdev->product == 0x392) value = wacom_offset_rotation(input, usage, value, 3, 16); else if (hdev->product == 0x34d || hdev->product == 0x34e || - hdev->product == 0x399) + hdev->product == 0x398 || hdev->product == 0x399) value = wacom_offset_rotation(input, usage, value, 1, 2); } else { |