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)
commitdbd3ef28e046b00114d0c0b5577f8e726255fe6c
tree63033caa9855000b1c89d89558709ec6925b1c0d
parent762f948c97132967b8154f48909daf221d090777
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