[Wayland-bugs] [Bug 101474] [PATCH] doc: Fix mistake in Matrix example to relect only X along Y axis
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sat Jun 17 00:00:19 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=101474
Bug ID: 101474
Summary: [PATCH] doc: Fix mistake in Matrix example to relect
only X along Y axis
Product: Wayland
Version: unspecified
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: libinput
Assignee: wayland-bugs at lists.freedesktop.org
Reporter: rzr at users.sf.net
Subject: [PATCH] doc: Fix mistake in Matrix example to relect only X along Y
axis
On some devices, X coordidate is not working well, as if it was swapped,
(click on right, appear on left and vice versa).
To sort this issue, coordidates should be reflected on Y axis:
- new X prosition is changed (width is substracted by X position)
- Y is unchanged (the mistake was here, it was set to X)
In landscape (or portrait) mode:
[ x ]
[ y ]
[ 1 ]
*
[ -1 0 1 ] [ x' ] = -x + 0*y + 1*width
[ 0 1 0 ] [ y' ] = 0*x + 1*y + 0*height
[ 0 0 1 ] [ 1 ]
This was verified using this touch screen.
E: ID_VENDOR=eGalax_Inc.
E: ID_VENDOR_ENC=eGalax\x20Inc.
E: ID_VENDOR_ID=0eef
Origin:
https://github.com/TizenTeam/libinput/tree/sandbox/pcoval/on/master/review
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20170617/d1081696/attachment-0001.html>
More information about the wayland-bugs
mailing list