summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAllen Ballway <ballway@chromium.org>2023-01-10 20:25:50 +0000
committerJiri Kosina <jkosina@suse.cz>2023-01-18 10:08:51 +0100
commita2f416bf062a38bb76cccd526d2d286b8e4db4d9 (patch)
tree7420dede600d89baa8f1525fee6cca4c0326c284 /tools/perf/scripts/python/export-to-postgresql.py
parentd264dd3bbbd16b56239e889023fbe49413a58eaf (diff)
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions