]> git.baikalelectronics.ru Git - kernel.git/commit
HID: asus: Add touchpad max x/y and resolution info for the T200TA
authorHans de Goede <hdegoede@redhat.com>
Fri, 5 Jan 2018 11:09:18 +0000 (12:09 +0100)
committerJiri Kosina <jkosina@suse.cz>
Tue, 23 Jan 2018 14:44:58 +0000 (15:44 +0100)
commite2173ce16a01dd4bf53d2e8dea6a103dd82ae2d4
tree63033caa9855000b1c89d89558709ec6925b1c0d
parent7a66b8c8e4c921684ae7d8a7dcfc0bee386244d8
HID: asus: Add touchpad max x/y and resolution info for the T200TA

The Asus T200TA uses the same USB device-id for its keyboard dock as the
T100TA, but the touchpad has a different size and corresponding different
max x/y values.

Add a separate asus_touchpad_info struct for the T200TA and select this
based on the DMI product-name (as we are already doing for the T100HA),
so that we report the correct info to userspace.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-asus.c