Display rotation RaspberryPi 3 & official Touchscreen

I need to rotate the screen 180 degrees
with the command “display_rotate=2” in the /boot/config.txt file, the image is rotated but the touch does not rotate … Did I do something wrong?
Thank you

I did not test for myself but according to https://www.raspberrypi.org/forums/viewtopic.php?t=120785 using


should help.

Thanks very much!

Hey Guys,
I know this post is over 2 years old, but I’d like to add a remark just if anyone ends up here searching for a solution (just like I did).

You might edit /boot/userconfig.txt instead of /boot/config.txt as the later one gets overridden with every OS update.

Hope that helps.

In the meantime the Touch Display plugin allows to rotate the display from the plugin’s config page. So for this purpose it is not necessary anymore to modify /boot/config.txt or /boot/userconfig.txt. :slight_smile:

Ahhhh… alright. That’s great news!