Screen rotation touch raspberry pi Ubuntu core

So I set the screen rotation but it doesn’t rotate the touch inputs that are attached to that screen. What is the easiest way to configure it. In Ubuntu itself I guess it’s a libinput and set an offset for the screen but how do I go about that in Ubuntu core. I changed the orientation using the snap set system pi-config.display-rotate=3 but it didn’t rotate input with it

Ok I fixed it, after 2 days of searching. In /writable/system-data/var/snap/mir-kiosk/1002/miral-kiosk.display you set the flipping there. In my case it was either right or left. You don’t set the pi display flip or it will confuse things.

1 Like