Max2Play Home › Forums › Max2Play as Squeezebox (Player / Server) › How to rotate 7 inch touchscreen
- This topic has 8 replies, 5 voices, and was last updated 2 years, 8 months ago by
MarioM Moderator.
-
21. März 2016 at 19:47 #19397
Hi. I’m making a squeezebox player using a HiFi Berry with a 7 inch screen. It all works well with max2play and jivelite except that the screen is upside down! I see there is a command to rotate the screen, but how do I enter it in max2play?
Many thanks
Rick
29. März 2016 at 16:12 #19501Hi Rick,
There should be a control box in the web interface menu for your display (RPi Touchdisplay plugin) to automatically rotate your screen if this happens.4. April 2016 at 19:45 #19615add lcd-rotate=2 in config.txt and it will get the correct orientation at boot.
3. Januar 2021 at 16:27 #50537Hello all and happy new year to everyone.
this topic is old but my question is related to it.
I managed to rotate my screen by 180 degrees but the problem is that the touchscreen hasn’t followed the rotation.
My display is rotated well but if I touch the screen at the top right corner, the screen recognizes the touch at the bottom left corner.Any help will be appreciated.
thanks
4. Januar 2021 at 15:52 #50547Hi djtale,
Did you use the option to rotate the display in the RPI display plugin?
4. Januar 2021 at 19:30 #50549Hello,
Yes, I used that option but it didn’t help me.
I finally fixed it by updating that file :
sudo nano 40-libinput.conf
in cd /usr/share/X11/xorg.conf.d/with the following line :
Option „TransformationMatrix“ „-1 0 1 0 -1 1 0 0 1“This link helped me:
https://www.instructables.com/Rotate-Raspberry-Pi-Display-and-Touchscreen/ -
You must be logged in to reply to this topic.