diff options
author | Hans de Goede <hdegoede@redhat.com> | 2017-07-02 10:34:13 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2017-07-20 10:01:10 -0400 |
commit | 25cc2611a6d3f3f7c2ce4006fcc6c729a5ad8e14 (patch) | |
tree | fb64fa475d08b1c49d6757a75b11e607a55a5210 | |
parent | c81760b99805daac3801efc63d6ea0dd17f8178b (diff) |
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: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
-rw-r--r-- | drivers/hid/hid-asus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/hid-asus.c b/drivers/hid/hid-asus.c index b6d02ad980a3..b759485a2926 100644 --- a/drivers/hid/hid-asus.c +++ b/drivers/hid/hid-asus.c | |||
@@ -107,7 +107,7 @@ static const struct asus_touchpad_info asus_i2c_tp = { | |||
107 | 107 | ||
108 | static const struct asus_touchpad_info asus_t100ta_tp = { | 108 | static const struct asus_touchpad_info asus_t100ta_tp = { |
109 | .max_x = 2240, | 109 | .max_x = 2240, |
110 | .max_y = 1758, | 110 | .max_y = 1120, |
111 | .contact_size = 5, | 111 | .contact_size = 5, |
112 | .max_contacts = 5, | 112 | .max_contacts = 5, |
113 | }; | 113 | }; |