💾 Archived View for thatit.be › 2022-11-25-13-23-59.gmi captured on 2024-05-10 at 11:28:57. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2024-03-21)

➡️ Next capture (2024-05-26)

🚧 View Differences

-=-=-=-=-=-=-

transformation matrix for touchscreen rotations

Here’s a link to Transformation Matrix info

It makes a lot more sense represented two dimensionally.

Identity:

⎡ 1 0 0 ⎤
⎜ 0 1 0 ⎥
⎣ 0 0 1 ⎦

Right rotation:

⎡  0 1 0 ⎤
⎜ -1 0 1 ⎥
⎣  0 0 1 ⎦

Left rotation:

⎡ 0 -1 1 ⎤
⎜ 1  0 0 ⎥
⎣ 0  0 1 ⎦

This is how I came up with values for my rotate script.

Tags

#xorg

Navigation

index

tags

updated: 2022-11-25 13:26:46

generated: 2024-05-03