summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/vexpress-hwmon.c
diff options
context:
space:
mode:
authorAllen Ballway <ballway@chromium.org>2023-01-10 21:25:50 +0100
committerJiri Kosina <jkosina@suse.cz>2023-01-18 10:08:51 +0100
commita2f416bf062a38bb76cccd526d2d286b8e4db4d9 (patch)
tree7420dede600d89baa8f1525fee6cca4c0326c284 /drivers/hwmon/vexpress-hwmon.c
parentMerge tag 'for-linus-2022122101' of git://git.kernel.org/pub/scm/linux/kernel... (diff)
downloadlinux-a2f416bf062a38bb76cccd526d2d286b8e4db4d9.tar.xz
linux-a2f416bf062a38bb76cccd526d2d286b8e4db4d9.zip
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: Allen Ballway <ballway@chromium.org> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hwmon/vexpress-hwmon.c')
0 files changed, 0 insertions, 0 deletions