Commit 25cc2611 authored by Hans de Goede's avatar Hans de Goede Committed by Jiri Kosina

HID: asus: Fix T100TA touchpad y dimensions

When adding the initial support I only looked at the maximum coordinates
but the Y axis is inverted, so I should have checked the minimum
coodinates which never reach 0 due to max_y being wrong, fix this.
Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent c81760b9
...@@ -107,7 +107,7 @@ static const struct asus_touchpad_info asus_i2c_tp = { ...@@ -107,7 +107,7 @@ static const struct asus_touchpad_info asus_i2c_tp = {
static const struct asus_touchpad_info asus_t100ta_tp = { static const struct asus_touchpad_info asus_t100ta_tp = {
.max_x = 2240, .max_x = 2240,
.max_y = 1758, .max_y = 1120,
.contact_size = 5, .contact_size = 5,
.max_contacts = 5, .max_contacts = 5,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment