diff options
author | Allen Ballway <ballway@chromium.org> | 2023-01-10 21:25:50 +0100 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2023-01-18 10:08:51 +0100 |
commit | a2f416bf062a38bb76cccd526d2d286b8e4db4d9 (patch) | |
tree | 7420dede600d89baa8f1525fee6cca4c0326c284 /drivers/char/Kconfig | |
parent | Merge tag 'for-linus-2022122101' of git://git.kernel.org/pub/scm/linux/kernel... (diff) | |
download | linux-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/char/Kconfig')
0 files changed, 0 insertions, 0 deletions