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. Both Touch & Mouse not working properly with QTimer.
Forum Updated to NodeBB v4.3 + New Features

Both Touch & Mouse not working properly with QTimer.

Scheduled Pinned Locked Moved Mobile and Embedded
5 Posts 2 Posters 2.1k Views 1 Watching
  • 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.
  • D Offline
    D Offline
    dreamerindia
    wrote on last edited by
    #1

    Dear friends,

    If i run the QTimer in my program when touch screen is enabled, its running fine.

    But If i run the QTimer in my program when mouse is enabled or mouse & touch enabled, its only running the timer for every mouse move.unless it's idle.

    what is the problem?what is the relation with QTimer & Mouse event?

    ~Ravivarman~

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

      Hi,

      You need to provide more information: What OS/Qt Version/Platform ? etc...

      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
      0
      • D Offline
        D Offline
        dreamerindia
        wrote on last edited by
        #3

        Hi,
        OS-Embededd Linux
        Qt Version-Qt 4.6.1
        Platform-ARM
        IDE-Eclipse with Qt C++ Eclipse Integration(Version: 1.6.1)

        ~Ravivarman~

        1 Reply Last reply
        0
        • D Offline
          D Offline
          dreamerindia
          wrote on last edited by
          #4

          For touch i use,

          @export TSLIB_TSDEVICE="/dev/input/ts0"
          export QWS_MOUSE_PROTO="tslib:/dev/input/event0"@

          For mouse i use,

          @export TSLIB_TSDEVICE="/dev/event1"
          export QWS_MOUSE_PROTO="IntelliMouse:/dev/input/mouse1"@

          For both mouse&touch

          @export TSLIB_TSDEVICE=?
          export QWS_MOUSE_PROTO="tslib:/dev/input/event0 IntelliMouse:/dev/input/mouse1"@

          what i need to export in "TSLIB_TSDEVICE" for both mouse&touch.

          ~Ravivarman~

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

            I don't know if having both input method at the same time is supported. You should ask that on the interest mailing list, you'll find there Qt's developers/maintainers (this forum is more user oriented)

            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
            0

            • Login

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