Skip to content
Commit a2f416bf authored by Allen Ballway's avatar Allen Ballway Committed by Jiri Kosina
Browse files

HID: multitouch: Add quirks for flipped axes



Certain touchscreen devices, such as the ELAN9034, are oriented
incorrectly and report touches on opposite points on the X and Y axes.
For example, a 100x200 screen touched at (10,20) would report (90, 180)
and vice versa.

This is fixed by adding device quirks to transform the touch points
into the correct spaces, from X -> MAX(X) - X, and Y -> MAX(Y) - Y.

Signed-off-by: default avatarAllen Ballway <ballway@chromium.org>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent d264dd3b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment