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.8k 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.
    • V Offline
      viktorzonix
      last edited by

      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 Reply Quote 0
      • A Offline
        almightyyoshi @Manino
        last edited by

        @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

          @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

            @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 Reply Quote 0
            • M Offline
              Manino @sdetweil
              last edited by

              @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 Reply Quote 0
              • S Do not disturb
                sdetweil @Manino
                last edited by

                @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 Reply Quote 0
                • M Offline
                  Manino @sdetweil
                  last edited by

                  @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

                    @Manino glad I could help :)

                    1 Reply Last reply Reply Quote 0
                    • 1 / 1
                    • First post
                      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