Open sentient-cloud opened 1 month ago
You should be able to right click on the screen in preferences and assign a touchscreen so that rotation is updated automatically.
This… isn’t very obvious and we need to document it somewhere 🫠
I did try that, but didn't work.
Seems to reliably fail for me first time and then decide to work after a reboot. I’m not sure why. I need to dig in to arandr to see what config it’s actually changing and maybe produce an updated version of https://github.com/pimoroni/hyperpixel4-rotate
aiui Pi are abandoning wayfire for something else (Lawbc) so the goalposts are going to move again 🫠
Not sure where to put this, since I can't find a matching issue where this was still unsolved.
My setup is a RPi 3 B+ with a rectangular 480x720 touchscreen in inverted mode, the display rotation can be changed and persisted through the screen preferences menu, but this did not rotate the touch input as well.
I found a solution, which involves adding a udev rule.
Create
/etc/udev/rules.d/98-hyperpixel4-calibration.rules
and add ONE of the following rules to it, depending on your configuration:Then reload the udev rules (applies the rule immediately, instead of having to reboot):