Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Hide cursor when no activity (eglfs environtment var)

Hide cursor when no activity (eglfs environtment var)

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
4 Posts 3 Posters 385 Views
  • 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.
  • G Offline
    G Offline
    getgo
    wrote on last edited by
    #1

    Hi,

    I want to hide a rendered cursor from /dev/input (egfls not using x11), when certain seconds not in activity. How can i achieve that?

    My case is i'm using a touch screen monitor that use usb as touch input. Basically it's just a mouse input.

    Thanks.

    1 Reply Last reply
    0
    • David_001D Offline
      David_001D Offline
      David_001
      wrote on last edited by David_001
      #2

      take a look at "unclutter", maybe it could help
      https://wiki.ubuntuusers.de/unclutter/

      1 Reply Last reply
      0
      • G Offline
        G Offline
        getgo
        wrote on last edited by
        #3

        Hi david, thanks for your reply.

        I can't use unclutter because it's base on x11

        1 Reply Last reply
        1
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi and welcome to devnet,

          One thing you can try is combine an event filter, a QTimer, and QGuiApplication::setOverrideCursor/QGuiApplication::restoreOverrideCursor using a transparent image to achieve the desired effect.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          1

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved