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.

    Infrared Touch Frame - rotate?

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    7 Posts 3 Posters 3.3k 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.
    • peemoellerP Offline
      peemoeller
      last edited by peemoeller

      Hi there! I have my MagicMirror up and running in portrait mode and works well. I have just added a 42" Infrared Touch Frame Overlay but the touch cursor moves the wrong direction (ie. the touch cursor stuck to landscape)
      How does one calibrate the touch cursor to portrait mode? I slide my finger up the mirror and the cursor moves right ~ lol.

      I have installed xinput but not sure how or where to adjust the settings.

      Any help appreciated!

      1 Reply Last reply Reply Quote 0
      • yawnsY Offline
        yawns Moderator
        last edited by

        Did you install xinput_calibrator?
        https://github.com/tias/xinput_calibrator/

        peemoellerP 1 Reply Last reply Reply Quote 0
        • peemoellerP Offline
          peemoeller @yawns
          last edited by

          @yawns Hello, yes and just finished running the xinput touch calibrator program under preferences (it had me touch the 4 red crosses). No issues there but I don’t know how or where to change the touch programming to “portrait” mode. I slide my finger up the monitor and the curser moves left.
          Would you have any instructions? Thanks again!

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @peemoeller
            last edited by

            @peemoeller see here
            https://askubuntu.com/questions/368317/rotate-touch-input-with-touchscreen-and-or-touchpad

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            peemoellerP 1 Reply Last reply Reply Quote 0
            • peemoellerP Offline
              peemoeller @sdetweil
              last edited by

              @sdetweil Awesome thanks!

              In his website link I created the portrait.sh file but don’t wuite understand this 2nd part in his instructions:
              ————————-
              “Afterwards, I also made launchers to automatically run each shell script when I tapped on them (this is possible in Xubuntu, Ubuntu MATE, and many other Ubuntu flavours). To do so, go to your panel, right-click, click on “add to panel” (or equivalent, for all these subsequent commands, too), create a custom application launcher. For portrait’s launcher, put in this command:

              sh /home/username/Scripts/portrait”
              —————————

              Are you able to elaborate? I am somewhat new to this :)
              Appreciate the guidance!
              ~ Eric.

              S 1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @peemoeller
                last edited by sdetweil

                @peemoeller he made apps(launcher) in the ubuntu graphical interface. So he could switch orientations just from a menu.

                If u are doing just once, u won’t need that.

                But he may have left out a step.
                From the command shell, where your little script is located, do

                chmod +x portrait.sh
                

                To make the script executable

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                peemoellerP 1 Reply Last reply Reply Quote 0
                • peemoellerP Offline
                  peemoeller @sdetweil
                  last edited by peemoeller

                  @sdetweil That worked! Nice :)
                  In Terminal I entered: chmod +x portrait.sh
                  Then executed the portrait.sh file I made
                  and the touch IR is now set to portrait.

                  So happy, thanks for your help buddy!

                  I’ve re-ran the “Calibrate Touchscreen” in Preferences again too. It reads:

                  < Calibrating standard Xorg driver “Multi touch overlay device” current calibration values: min_x=0, max_x=65535 and min_y=0, max_y=65535
                  If these values are estimating wrong, either supply it manually with the - -precalib option, or run the ‘get_precalib.sh’ script to automatically get it (through HAL). >

                  I find the touch curser doesn’t reach the the edges of my monitor. Example I can’t simply click on the Raspberry Icon in the corner. The curser is diaginally 2 inches away?

                  Where can I set or adjust this? Any thoughts?

                  Fun!

                  1 Reply Last reply Reply Quote 0

                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                  With your input, this post could be even better 💗

                  Register Login
                  • 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