I have a touch screen device that I want to use in portrait mode with Qt.
Despite what numerous posts in many forums state, the only way I can rotate the screen is with xrandr --output HDMI-1 --rotate right in my autorun file.
But that leaves the mouse in landscape mode. I have overcome that by using lcd_rotate=1 in /boot/firmware/config.txt.
However the touch movements are left in landscape mode. sigh!
Is there a way to overcome this? And as this is getting very messy, is there a way to combine all these transformations?
PS: I'm using a Pi Zero 2 with the latest software.
tia
EDIT: Using X11
Despite what numerous posts in many forums state, the only way I can rotate the screen is with xrandr --output HDMI-1 --rotate right in my autorun file.
But that leaves the mouse in landscape mode. I have overcome that by using lcd_rotate=1 in /boot/firmware/config.txt.
However the touch movements are left in landscape mode. sigh!
Is there a way to overcome this? And as this is getting very messy, is there a way to combine all these transformations?
PS: I'm using a Pi Zero 2 with the latest software.
tia
EDIT: Using X11
Statistics: Posted by gone_bush — Tue Feb 27, 2024 3:17 am