Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    Possible to enable mouse cursor on screen?

    General Discussion
    4
    5
    3392
    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.
    • J
      jason02 last edited by

      Hi, I’m planning to create a module to display a image carousel. The will be a left button on the left side of the screen and a right button on the right side of the screen. When a user clicks the left or right button, a new image is displayed in the center of the screen.

      The final version will most likely be touch enabled, but until then I would like to test out the button click events using a mouse for the time being. However the mouse/cursor seems disabled whenever I load the magic mirror. Is there anyway I can enable the mouse while using the magic mirror?

      1 Reply Last reply Reply Quote 0
      • cowboysdude
        cowboysdude Project Sponsor Module Developer last edited by

        That’s funny because I came here looking for the same thing… I’m hoping there is!

        1 Reply Last reply Reply Quote 0
        • paviro
          paviro Admin last edited by paviro

          It is disabled via CSS I am not sure on which element html or body so adding something like the following to the custom css file should work:

          body {
          cursor:default;
          }
          
          1 Reply Last reply Reply Quote 2
          • broberg
            broberg Project Sponsor last edited by

            As paviro said, the cursor is hidden as default, and to make stuff clickable you have to change the z-index of region-fullscreen to 0 (the fullscreen div is over everyrhing and blocks links and on click events.)

            1 Reply Last reply Reply Quote 0
            • cowboysdude
              cowboysdude Project Sponsor Module Developer last edited by

              Thanks @paviro …

              See I knew there’d be a way 😉

              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