Raspberry Pi: Rotate Official Touch Display by 90°
I wanted to rotate my Rasperry Pi Touch Display by 90 degrees. But I noticed this isn’t possible via boot parameters in the config.txt file.
It is possible to rotate the display in config.txt, but the touch input will not work correctly. There is also a change in the newest raspbian xinput driver releases.
does NOT work anymore.
So here is the solution:
1. Rotate Display in /boot/config.txt
2. Install xinput
3. Find your Driver
Or over SSH:
4. Rotate touch input via xinput
You need to matrix transform the input coordinates