Navigation

    Fuze Arena Logo
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Help
    • Discord

    Motion controlled cursor

    General Discussion
    2
    3
    269
    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.
    • T
      TheDearHunter F last edited by

      I am currently trying to create a cursor that is controlled via motion controls. Using only the X and Y axis, with a recalibration button in case of gyro drift. I got something that seems to work in most cases, but i am a little confused about one thing.

      If i keep moving left, the x value approaches 1, and if i keep moving left the x value starts going back down again. So it works fine as long as that 1 point isnt anywhere on the screen, but once it is the cursor will bounce off that point.

      Any ideas what to do? If anyone wants to look at the code drop a friend code and Ill add you. Thanks!

      1 Reply Last reply Reply Quote 1
      • T
        TheDearHunter F last edited by

        My friend code is SW-0798-2125-7893

        1 Reply Last reply Reply Quote 0
        • ITzTravelInTime
          ITzTravelInTime F last edited by

          you can use what you have describerd to detect motion, in fact you can just add some cases to determinate how the joycon has been moved, and also i think that switch lite compatibility is something to look for, so keep the analog sticks as a backup for moving the cursor

          1 Reply Last reply Reply Quote 0
          • First post
            Last post