Sujet : Re: Need Help With Libinput
De : g.s (at) *nospam* arcor.de (Gerhard Strangar)
Groupes : comp.os.linux.miscDate : 03. Jul 2024, 07:55:40
Autres entêtes
Message-ID : <lek7esF2l4rU1@mid.individual.net>
References : 1
User-Agent : Mozilla/5.0 (X11; FreeBSD amd64; rv:91.0) Gecko/20100101 Firefox/91.0 SeaMonkey/2.53.18.2
Lester Thorpe wrote:
Coordinate Transformation Matrix (157): 0.400000, 0.000000, 0.000000, 0.000000, 0.400000, 0.000000, 0.000000, 0.000000, 1.000000
[...]
But what do the rest of the values accomplish?
>
I can find no documentation on this issue. If someone can
provide links or a description it would be appreciated.
You cursor movement is the vector you get when you multiply the matrix
with the input vector:
/x'\ /x\
|y'| = M * |y|
\1 / \1/
The third dimension allows merging every possible transformation into a
single multiplication:
https://en.wikipedia.org/wiki/Affine_transformation#Image_transformation