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.

    MMM-Touch or similar without visible module

    Scheduled Pinned Locked Moved Solved Troubleshooting
    7 Posts 3 Posters 270 Views 3 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
      mmmmh Project Sponsor
      last edited by

      I would like to add touch capabilities to my screen but I don’t want to have a visible module. MMM-Touch seems to require space on the screen. Can this be accomplished with MMM-Touch or another module?

      Can a module be active, accept input from the whole screen but not be visible?

      S M 2 Replies Last reply Reply Quote 0
      • M Offline
        MMRIZE @mmmmh
        last edited by

        @mmmmh
        useDisplay: false,

        M 1 Reply Last reply Reply Quote 2
        • S Away
          sdetweil @mmmmh
          last edited by sdetweil

          @mmmmh I do not know about doing g this w mmm-touch. it is possible. the module would have to be fullscreen_above and transparent content covering the screen.
          it would have to forward the touch events to the modules element that is below the touch point

          what do you want to do w touch? hardly any modules are touch enabled

          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
            mmmmh Project Sponsor @sdetweil
            last edited by

            @sdetweil I want to execute shell scripts to turn the screen on or off. The swipe gestures from MMM-Touch also look nice, but, as I wrote, MMM-Touch adds a visible module on the screen which I don’t want.

            S 1 Reply Last reply Reply Quote 0
            • S Away
              sdetweil @mmmmh
              last edited by

              @mmmmh … well if it’s hidden then it’s not active so the swipe won’t work.
              it could have a transparent div covering the screen

              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
                mmmmh Project Sponsor @sdetweil
                last edited by

                @sdetweil that’s the challenge, I need something that has no visible representation but is doing its job. I could experiment with custom regions and custom CSS. I have done this in the past but I am wondering if there is a cleaner way.

                1 Reply Last reply Reply Quote 0
                • M Offline
                  MMRIZE @mmmmh
                  last edited by

                  @mmmmh
                  useDisplay: false,

                  M 1 Reply Last reply Reply Quote 2
                  • M Offline
                    mmmmh Project Sponsor @MMRIZE
                    last edited by

                    @MMRIZE said in MMM-Touch or similar without visible module:

                    @mmmmh
                    useDisplay: false,

                    Yes. I think this does it. In the beginning I thought it just disabled visual feedback but it seems it actually hides the module. I’ll test it some more and will come back.

                    1 Reply Last reply Reply Quote 1
                    • M mmmmh has marked this topic as solved on
                    • 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