[Wayland-bugs] [Bug 90007] Cannot rotate input touchscreen with Xorg + libinput
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Apr 16 06:52:07 PDT 2015
https://bugs.freedesktop.org/show_bug.cgi?id=90007
--- Comment #2 from Éric Brunet <eric.brunet at lps.ens.fr> ---
Created attachment 115125
--> https://bugs.freedesktop.org/attachment.cgi?id=115125&action=edit
Updating of the man page of xf86-input-libinput.
Ho...
Thanks for the link! I have been doing too much math lately. I saw a 3x3
matrix called InputCoordinateTransformation, and I thought (without
checking, my bad) that it was transforming 3D coordinates
(x,y,z) => (x',y',z') = M (x,y,z)
in anticipation of future fancy input methods...
The transformation is instead
(x,y) => (x',y') = M (x,y) + (x0,y0)
I think I would have guessed if the matrix had been 3x2 instead of 3x3,
and I am still confused about the meaning of the third row, but at least
I can now rotate my screen as I want.
May I suggest updating the man page of the xf86 libinput driver to explain
this?
The interface is neither intuitive nor user-friendly, and documentation is
always good. I am attaching a patch to this effect.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20150416/2692648a/attachment.html>
More information about the wayland-bugs
mailing list