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. Why I can't get any touch event on ARM-Linux

Why I can't get any touch event on ARM-Linux

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
3 Posts 1 Posters 321 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.
  • MihanM Offline
    MihanM Offline
    Mihan
    wrote on last edited by
    #1

    I want to distinguish between mouse event and touch event, also the touch screen works. But I just got event about mouse ( press, release , move ....). Do my drivers have something different, like converting touch event into mouse event? Thank you~

    1 Reply Last reply
    0
    • MihanM Offline
      MihanM Offline
      Mihan
      wrote on last edited by
      #2

      I found something on other topics

      export QT_QPA_EVDEV_TOUCHSCREEN_PARAMETERS=/dev/input/event0
      

      Should I do the same, and I found touchscreen0 in this path.

      :/dev/input# ls
      by-path  event0  event1  event2  keypad  mice  mouse0  touchscreen0
      

      Is event0 or touchscreen0?

      1 Reply Last reply
      0
      • MihanM Offline
        MihanM Offline
        Mihan
        wrote on last edited by
        #3

        I can get touch event ,but the gesture event still without any type but pinchGesture, I want to use panGesture to control the graphicsView and pinchGesture to zoom in/out. How to do that?

        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