• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Touchscreen works wrong when screen is rotated vertical

Scheduled Pinned Locked Moved Solved Troubleshooting
10 Posts 4 Posters 2.4k Views 4 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    Manino
    last edited by Oct 7, 2023, 8:57 PM

    I want to use my touchscreen vertically, but when I do that, the touch can’t click right. It’s like the mouse won’t turn side to vertical.

    I have tried the screen with my PC, works perfect. It’s something between the screen, Rasperry pi and the Magic Mirror. Anybody have an idea about what? I do the rotate with the “screen layoute editor”. Have tried reebot.

    S A 2 Replies Last reply Oct 7, 2023, 11:02 PM Reply Quote 0
    • V Offline
      viktorzonix
      last edited by Oct 8, 2023, 9:51 AM

      You need to edit the touch matrix. Full tutorial here https://www.gechic.com/en/raspberry-pi-touch-monitor-rotate-touch-screen-rotate-settings/ but it’s usally done by editing your40-libinput.conf in /etc/xorg.d.

      A M 2 Replies Last reply Oct 8, 2023, 8:22 PM Reply Quote 0
      • S Offline
        sdetweil @Manino
        last edited by Oct 7, 2023, 11:02 PM

        @Manino must be a touch screen driver needing to know screen orientation changed.

        display support on pi is very private compared to Windows or linux

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        M 1 Reply Last reply Oct 9, 2023, 8:07 AM Reply Quote 0
        • V Offline
          viktorzonix
          last edited by Oct 8, 2023, 9:51 AM

          You need to edit the touch matrix. Full tutorial here https://www.gechic.com/en/raspberry-pi-touch-monitor-rotate-touch-screen-rotate-settings/ but it’s usally done by editing your40-libinput.conf in /etc/xorg.d.

          A M 2 Replies Last reply Oct 8, 2023, 8:22 PM Reply Quote 0
          • A Offline
            almightyyoshi @Manino
            last edited by Oct 8, 2023, 11:15 AM

            @Manino You have to do a couple of things. The best explanation is here. Basically, find the name of your monitor, and then do this command in terminal:

            xinput set-prop ‘name of your device’ ‘Coordinate Transformation Matrix’ 0 1 0 - 1 0 1 0 0 1

            This will rotate the touch controls to the right (depending on which way you turned your monitor, this might have to be adjusted). The only problem is that I haven’t found a way to make it permanent (in Raspbian), so it reverts every so often and you have to run the command again. I’ve written it to etc, but it doesn’t take. If anyone has any suggestions for permanence, I’d love to hear it.

            1 Reply Last reply Reply Quote 0
            • A Offline
              almightyyoshi @viktorzonix
              last edited by Oct 8, 2023, 8:22 PM

              @viktorzonix Wow! Thanks for this. In my searching a couple of years ago, this never came up and nothing else ever had the correct info. I had just lived with the fact that I had to keep re-entering it periodically. Woo hoo!

              1 Reply Last reply Reply Quote 0
              • M Offline
                Manino @viktorzonix
                last edited by Oct 9, 2023, 7:48 AM

                @viktorzonix Yes, that’s it. Thank you so much, can’t describe how glad I am for this, I really appreciate you share this for us!

                V 1 Reply Last reply Oct 15, 2023, 7:12 AM Reply Quote 0
                • M Offline
                  Manino @sdetweil
                  last edited by Oct 9, 2023, 8:07 AM

                  @sdetweil Driver was only for Windows. I have buttons on the screen, but could’nt choose to rotate screen. All text was black except the one for rotate that was grey.

                  Maybe it’s because of this, found in the Dell manuall : NOTE: “Horizontal Position and Vertical Position adjustments
                  are only available for “VGA” input.”

                  I’m using HDMI. I don’t even know if the VGA would have solved my problem. But no need to know, @viktorzonix solved the problem for us. So glad for u guys helping, I haven’t asked one question at MM forum and not getting helped.

                  S 1 Reply Last reply Oct 9, 2023, 11:17 AM Reply Quote 0
                  • S Offline
                    sdetweil @Manino
                    last edited by Oct 9, 2023, 11:17 AM

                    @Manino @viktorzonix told you how to tell the driver the orientation changed. I just didn’t know how

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    M 1 Reply Last reply Oct 9, 2023, 1:32 PM Reply Quote 0
                    • M Offline
                      Manino @sdetweil
                      last edited by Oct 9, 2023, 1:32 PM

                      @sdetweil Ahaaa! Thought you talk about the driver for the monitor.

                      1 Reply Last reply Reply Quote 0
                      • V Offline
                        viktorzonix @Manino
                        last edited by Oct 15, 2023, 7:12 AM

                        @Manino glad I could help :)

                        1 Reply Last reply Reply Quote 0
                        • 1 / 1
                        1 / 1
                        • First post
                          6/10
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Sam, technical setup by Karsten.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy