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.

    Need help MMM-touch MMM-pages MMM-page indicator

    Scheduled Pinned Locked Moved Development
    27 Posts 7 Posters 6.1k Views 9 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.
    • 6 Offline
      68jeeper
      last edited by

      @tburk32 were you able to get this going? I am attempting to do the same and it is not working for me either.

      S T 2 Replies Last reply Reply Quote 0
      • S Offline
        sdetweil @68jeeper
        last edited by

        @68jeeper what is not working?

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        6 1 Reply Last reply Reply Quote 0
        • 6 Offline
          68jeeper @sdetweil
          last edited by

          @sdetweil MMM-Touch. I have it setup exactly as shown in this thread, and I cannot get the swipe to do anything. Just like @tburk32, the touch screen works on CX3 and Page Indicator so I know my touch screen is working. Any advice?

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

            @68jeeper well, I can’t get touch to trigger at all… only thing in bottom_bar…
            (on my mac with mouse)

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • T Offline
              tburk32 @68jeeper
              last edited by

              @68jeeper yes! Sorry for the delayed response, I didn’t receive any notifications that you tagged me in this post.

              My solution was to use (https://github.com/JanLoebel/mmm-touchgestures). Hammer.js seems to be the difference and why this one works. The documentation was challenging for me ti follow but I was able to get it working through trial and error. My config look like this for MMM-touchgestures

              
              {
                  module: 'mmm-touchgestures',
                  config: {
                      gestures: {
                          "swipe": {
                              enabled: true,
                              threshold: 50
                          }
                      },
                  
                      actions: {
                          "swiperight" : function() {
                              return "PAGE_INCREMENT";
                          },
                          "swipeleft" : function() {
                              return "PAGE_DECREMENT";
                          },
                          "swipeup" : function() {
                              console.log("Triggered swipeup");
                          },
                          "swipedown" : function() {
                              console.log("Triggered swipedown");
                          },
                      },
                  }
              },
              
              1 Reply Last reply Reply Quote 0
              • 1
              • 2
              • 3
              • 3 / 3
              • 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