Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Special Interest Groups
  3. QtonPi
  4. Qt 5.2 touch screen offset

Qt 5.2 touch screen offset

Scheduled Pinned Locked Moved Unsolved QtonPi
1 Posts 1 Posters 876 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.
  • Eugene GromovE Offline
    Eugene GromovE Offline
    Eugene Gromov
    wrote on last edited by
    #1

    I am trying to get touch screen five point capacitive touch working correctly with Qt 5.2 app on raspberry Pi 2.
    I am invoking the application this way:

    opt/calqlatr_u/calqlatr -plugin evdevmouse:/dev/input/event2
    

    where /dev/input/event2 is for touch screen input. When application starts, cursor is in the left and
    top corner of the screen. When I touch the screen for example in point (x, y) for the first
    time during application runtime, it seems that this event is parsed as touch in (0,0)- (left top corner),
    so after that I have an offset in touchscreen interaction which I can remove only by touching the screen
    in the top left corner.
    But in X11 touch screen works correctly, this effect is present only in Qt application with EGLFS.

    I've also tried

    opt/calqlatr_u/calqlatr -plugin evdevtouch:/dev/input/event2
    
    ```but it seems that then touch events are ignored by application - it catchs focus after first touch,
    but for example MouseArea does not process the touch.

    best regards. Eugene Gromov
    evgeni.gromov@gmail.com

    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