<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Cannot rotate input touchscreen with Xorg + libinput"
href="https://bugs.freedesktop.org/show_bug.cgi?id=90007#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Cannot rotate input touchscreen with Xorg + libinput"
href="https://bugs.freedesktop.org/show_bug.cgi?id=90007">bug 90007</a>
from <span class="vcard"><a class="email" href="mailto:eric.brunet@lps.ens.fr" title="Éric Brunet <eric.brunet@lps.ens.fr>"> <span class="fn">Éric Brunet</span></a>
</span></b>
<pre>Created <span class=""><a href="attachment.cgi?id=115125" name="attach_115125" title="Updating of the man page of xf86-input-libinput.">attachment 115125</a> <a href="attachment.cgi?id=115125&action=edit" title="Updating of the man page of xf86-input-libinput.">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=90007&attachment=115125'>[review]</a>
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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>