MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.20.0 is available! For more information about this release, check out this topic.

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

    Development
    3
    6
    173
    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.
    • C
      crown last edited by sdetweil

      Hello lovely people~

      So making a magic mirror with 32 inch IR Frame for touch screen.
      Outside the magic mirror browser, the touch screen responds very well.

      Successfully created MMM-pages and MMM-page-indicator also.

      Just have no idea how to get the IR frame to be able to click into the page-indicator and change pages.

      Tried to use MMM-touch and wrote some config as follows.
      Still, no luck. Are you able to help me with this?
      [15:07] Hayune Lee

      { module: "MMM-Touch", 
      position: "top_right", 
      config:{
      gestureCommands: {     
              "MMM-pages": {
                       "SWIPE_RIGHT": (commander) => { commander.sendNotification("PAGE_INCREMENT")}
                        ,"SWIPE_LEFT": (commander) => { commander.sendNotification("PAGE_DECREMENT")}     
      } }}},
      

      Edward Shen, the creator of MMM-pages and MMM-page-indicator has said it is so easy to send notifications but not for me hhaah.

      S 2 Replies Last reply Reply Quote 0
      • S
        sdetweil @crown last edited by

        @crown edited for clarity. when pasting in config, use the code block

        select the pasted text and push </> button above the editor

        Sam

        Create a working config
        How to add modules

        C 1 Reply Last reply Reply Quote 0
        • S
          sdetweil @crown last edited by

          @crown what else is top_right? that is where u have to do the swipe

          Sam

          Create a working config
          How to add modules

          C 1 Reply Last reply Reply Quote 0
          • C
            crown @sdetweil last edited by

            @sdetweil Hello~

            Thanks for such a swift reply!!

            I did not even know top-right is the place I need to swipe.
            I wanted to click into the page-indicator dots

            M 1 Reply Last reply Reply Quote 0
            • C
              crown @sdetweil last edited by

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • M
                MMRIZE @crown last edited by

                @crown
                You can swipe anywhere not only top-right.
                Just avoid refreshing DOM or another mouse/pointer event assigned. I recommend using an empty area to avoid misleading gestures.

                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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                This forum is using NodeBB as its core | Contributors
                Contact | Privacy Policy