Feature #1169
open
Add display rotation hidden option
Added by Hammel 21 days ago.
Updated 9 days ago.
Description
PiStore and PiSentry are upside down on my desk and it's not easy to flip them around.
I need a way to easily flip the display, either via xrandr or by setting a firmware config and rebooting.
This requires updating /media/boot/tft-config.txt from this
dtoverlay=tft35a:rotate=90,speed=80000000,fps=60
to this
dtoverlay=tft35a:rotate=270,speed=80000000,fps=60
For HDMI display, change config.txt from this
display_rotate=0x00000
to this
display_rotate=2
- Status changed from New to In Progress
- % Done changed from 0 to 30
- Severity changed from 02 - High to 01 - Critical
To enable this the launcher needs a Ctrl-R key-press added. This key-press can be enabled with the cross.sh using a new -r option.
The code that handles this would need to also support HDMI rotation too. piboxDisplayType() should determine if we're in HDMI or TFT.
Also available in: Atom
PDF