Waveshare orientation hdmi/ touch input

Post Reply
Sambolini94
Posts: 21
Joined: Tue Aug 12, 2025 7:02 pm

Waveshare orientation hdmi/ touch input

Post by Sambolini94 »

Hi all,

I've googled this and tired multiple ways but just lost on how to adjust the orientation on my hdmi waveshare screen!

I'm running Pi OS Trixie on my Pi4 8gb with CarPiHat.

- My screen has USB-C power direct from HAT 5v output...
- USB-C to USB-A touch input
- HDMI video.

The screen naturally displays a specific orientation where the ports are the wrong way up so I have turned the screen 180 degrees so they come out the bottom of the screen and therefore the display and touch input needs flipping 180 degrees.

Anyway able to assist here.

Kr,

Sam
hudiy
Site Admin
Posts: 440
Joined: Mon Jul 14, 2025 7:42 pm

Re: Waveshare orientation hdmi/ touch input

Post by hudiy »

Hello,
Did you try to use Screen Configuration Tool in Control Centre? One of the screens we use for testing is the Pi Touch Display II which has a portrait orientation by default. After changing the orientation in the Screen Configuration Tool, the touch panel is also automatically mapped to that orientation.
Sambolini94
Posts: 21
Joined: Tue Aug 12, 2025 7:02 pm

Re: Waveshare orientation hdmi/ touch input

Post by Sambolini94 »

Hi,

I'm sure I have tried that and it didn't seem to work but I'm going to do a fresh install of Pi OS Trixie and Hudiy and will try that again. If it doesn't is screen orientation both for hdmi outputs and touch input OS level or driver specific?
hudiy
Site Admin
Posts: 440
Joined: Mon Jul 14, 2025 7:42 pm

Re: Waveshare orientation hdmi/ touch input

Post by hudiy »

Sambolini94 wrote: Sun Feb 22, 2026 10:00 pm Hi,

I'm sure I have tried that and it didn't seem to work but I'm going to do a fresh install of Pi OS Trixie and Hudiy and will try that again. If it doesn't is screen orientation both for hdmi outputs and touch input OS level or driver specific?
It is specific for the window compositor actually. The default window compositor for both Raspberry Pi OS Bookworm and Trixie is labwc on Wayland. As far as we know, labwc uses libinput to communicate with input devices like touchscreens.

https://labwc.github.io/labwc-config.5.html#touch
https://labwc.github.io/labwc-config.5.html#libinput
https://labwc.github.io/labwc-config.5. ... tionmatrix

Configuration file is located in $HOME/.config/labwc/rc.xml (default path for Raspberry Pi OS).
Post Reply