Skip to content

Commit 25cc261

Browse files
jwrdegoedeJiri Kosina
authored andcommitted
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 <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
1 parent c81760b commit 25cc261

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/hid/hid-asus.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ static const struct asus_touchpad_info asus_i2c_tp = {
107107

108108
static const struct asus_touchpad_info asus_t100ta_tp = {
109109
.max_x = 2240,
110-
.max_y = 1758,
110+
.max_y = 1120,
111111
.contact_size = 5,
112112
.max_contacts = 5,
113113
};

0 commit comments

Comments
 (0)