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.

    Flick Large gesture control

    Scheduled Pinned Locked Moved Solved Hardware
    18 Posts 7 Posters 11.1k Views 10 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.
    • R Offline
      Radu_Stancu
      last edited by

      That is exactly what I’m planning to do. In theory it works behind the mirror, but you will lose the touch gestures more than likely. Unfortunately I do not have the mirror yet (it has not been delivered yet), but I’ll post a picture/results when I get it.

      So far I wrote the code this way:

      Left/right swipes go through MMM-pages & MMM-pages_indicator

      Up/down swipes open/close newsfeed details

      Each gesture also triggers the LED on the sensor board.

      I’m still thinking what other things I can do with the remaining gestures.

      I’ll update the correct code after I clean it up a bit.

      M 1 Reply Last reply Reply Quote 1
      • M Offline
        macnice
        last edited by macnice

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • M Offline
          macnice @Radu_Stancu
          last edited by

          @radu_stancu Thank you for your answer I look forward to your feedback, because I would also like to use this solution. 🙂

          1 Reply Last reply Reply Quote 0
          • S Offline
            SteffenSchmidt
            last edited by

            Could you describe, if you were successfull with the implementation of the board? Best Regards.

            R 1 Reply Last reply Reply Quote 0
            • R Offline
              Radu_Stancu @SteffenSchmidt
              last edited by Radu_Stancu

              @steffenschmidt, I was successful to some extent. I have managed to use the gestures from the board to control the interface. Up, down, left and right are working and more will follow when I know what I want them to do. The only problem is that the flick sensor is NOT WORKING behind the mirror, probably because of the aluminum/silver layer that makes a mirror a mirror.

              I will work on the project in the winter holidays and post some more details.

              1 Reply Last reply Reply Quote 1
              • R Offline
                Radu_Stancu
                last edited by

                Updated the code, and also support for the Asus Tinker Board.

                1 Reply Last reply Reply Quote 1
                • F Offline
                  Frek
                  last edited by

                  This is exactly what Im looking for. Im trying to get your module to run but Im first of all not a programmer (can do simple things in python an such)

                  I altered your python script to work with my skywriter board, easy enough. But i wonder how i set up the config file? Just load the module? If I do that I get a error that says "cannot find module “python-shell”

                  I was hoping the sensor would work behind the mirror to but it wont. I will put it on the inside of the frame insted…

                  F 1 Reply Last reply Reply Quote 0
                  • F Offline
                    Frek @Frek
                    last edited by

                    I sorted it out. Didn’t have python-shell installed :)

                    1 Reply Last reply Reply Quote 0
                    • R Offline
                      Radu_Stancu
                      last edited by

                      So you did you get it to work? I have an updated version if you are interested.

                      1 Reply Last reply Reply Quote 0
                      • B Offline
                        bolish
                        last edited by

                        @Radu_Stancu
                        Hi,

                        Did you considered using (and maybe tweaking a bit) the MMM-GroveGestures module and “only” replace the Grove Gesture Sensor (PAJ7620u2) by the Flick one?

                        It’s maybe a bit “basic thinking” from me but the MMM-GroveGestures plugin is really working great and both sensor seems to be based on the same working method / supplier / …
                        So maybe worth to consider it, don’t you think?

                        (would eb great for me at least, as I’m using MMM-GroveGestures and I’m interested into switching to the flick one).

                        Regards

                        1 Reply Last reply Reply Quote 0
                        • R Offline
                          Radu_Stancu
                          last edited by

                          Hi,

                          Sorry for my really late reply, I have been working on the module for a while, getting the mouse control to work.

                          As for your request, I did not know of the MMM-GroveGestures module. I had a look at it and the basic commands are basically the same although the code is written a bit differently. The gestures sequence though is a nice feature and I will look into that and try to do it the following days, but I am not really sure what actions should I bind to those new gestures.

                          Best regards,

                          Radu

                          1 Reply Last reply Reply Quote 0
                          • X Offline
                            xne0n
                            last edited by

                            @Radu_Stancu
                            Hi,

                            Did you make some progress in your work, and so can you share it, I’d be glad to help with the module

                            Thanks

                            R 1 Reply Last reply Reply Quote 1
                            • R Offline
                              Radu_Stancu @xne0n
                              last edited by Radu_Stancu

                              @xne0n, I have made some progress, it runs perfectly smooth on the Asus Tinker board, I have managed to get mouse input working decently. It works by putting your finger close to the flick, the orange led turns on, and then the mouse follows your finger. It is not mouse pad like precision, but it gets the job done. I will update the source code, or maybe add it as a module on github after I finish writing my thesis.

                              X kayakbabeK 2 Replies Last reply Reply Quote 1
                              • X Offline
                                xne0n @Radu_Stancu
                                last edited by

                                @Radu_Stancu very interesting ! ok thank you

                                1 Reply Last reply Reply Quote 0
                                • kayakbabeK Offline
                                  kayakbabe @Radu_Stancu
                                  last edited by

                                  @Radu_Stancu I would really like to have a copy of your module. I’ve been working with the code you posted at the beginning of this topic thread and I’ve gotten tap added. But the wheel just crashes my flick. I’m building a mirror for my Dad and I’d like to surprise him with one he can control with the flick. It would really impress him.

                                  I hope you are still checking in on this magicmirror builders forum.

                                  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