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. Input Device resetting
QtWS25 Last Chance

Input Device resetting

Scheduled Pinned Locked Moved Mobile and Embedded
2 Posts 2 Posters 670 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.
  • Z Offline
    Z Offline
    zigowatt
    wrote on last edited by
    #1

    Currently, I use the touch panel as an input device and start the application on Qt / Embedded.

    Since the target device tends to be affected by noise and the touch panel may become ineffective, the current situation is to create a touch panel kernel object (ts.ko), reset and reload it. Furthermore, restarting the running application is done.

    Here, how do I reset / reload ts.ko and then reconnect the input device by processing on the application without restarting the application?

    A little examination reveals that Qt's input device is defined in QWS_MOUSE_PROTO, and if you used QWSServer :: resumeMouse (), suspendMouse () it was possible to disable → reactivate it, so use it I tried but it was useless.
    I also tried closeMouse () and openMouse () of the QWSServer class, but it did not work.

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

      Hi and welcome to devnet,

      Are you connecting directly to your touch screen device or are you using /dev/input/mice which should return all mouses in a system. Thus it might be an alternative when you reload your touchscreen module.

      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