Project

General

Profile

Actions

Feature #1169

open

Add display rotation hidden option

Added by Hammel 21 days ago. Updated 9 days ago.

Status:
In Progress
Priority:
Immediate
Assignee:
Category:
UI
Target version:
Start date:
17 Jan 2025
Due date:
% Done:

30%

Estimated time:
Severity:
01 - Critical

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.

Actions #1

Updated by Hammel 9 days ago

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
Actions #2

Updated by Hammel 9 days ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 30
  • Severity changed from 02 - High to 01 - Critical
Actions #3

Updated by Hammel 9 days ago

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.

Actions

Also available in: Atom PDF