How to rotate 7 inch touchscreen

Max2Play Home 2016 (en) Forums Max2Play as Squeezebox (Player / Server) How to rotate 7 inch touchscreen

This topic contains 8 replies, has 5 voices, and was last updated by  MarioM Moderator 8 months, 2 weeks ago.

Viewing 9 posts - 1 through 9 (of 9 total)
  • 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 #19501

    Hi 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.

    29. März 2016 at 18:52 #19517

    Got it! Many thanks Heiner

    4. April 2016 at 19:45 #19615

    add lcd-rotate=2 in config.txt and it will get the correct orientation at boot.

    6. April 2016 at 18:12 #19679

    Finally got it! Many thanks

    3. Januar 2021 at 16:27 #50537

    Hello 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 #50547

    Hi djtale,

    Did you use the option to rotate the display in the RPI display plugin?

    4. Januar 2021 at 19:30 #50549

    Hello,

    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/

    7. Januar 2021 at 14:46 #50555

    Hi djtale,

    Thank you for sharing your solution!

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.

Register here