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. ? about touchscreen calibration
Forum Updated to NodeBB v4.3 + New Features

? about touchscreen calibration

Scheduled Pinned Locked Moved Solved Mobile and Embedded
3 Posts 2 Posters 2.3k 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.
  • B Offline
    B Offline
    BradWalker
    wrote on last edited by
    #1

    I'm looking for some insight into how to do touchscreen calibration.

    My embedded systems details don't really matter as I have Linux & Qt up and running correctly. But in case you are interested, it's a Xilinx Zynq FPGA with Qt 5.6.3 on it.

    I can't seem to figure out the "proper" way to do calibration of a touchscreen. It looks like in Qt 4.x day, there was the QWSMouseHandler::calibrate() function. That seems to have gone away in Qt 5.x..

    I can't seem to find the same functionality in Qt 5.6.3. But, the Qt embedded docs http://doc.qt.io/QtForDeviceCreation/qtee-customization.html seem to say that one should use the TSLIB plugin.

    I'm currently using EVDEVTOUCH and it works well. But, I'm in need to calibrate the touchscreen. Should I be using TSLIB instead?

    Thanks.

    -brad w.

    1 Reply Last reply
    0
    • W Offline
      W Offline
      wthung
      wrote on last edited by
      #2

      Is your application only need single touch? tslib only support single touch.
      Our application in low-end device uses tslib to calibrate the touch screen.
      With the backend, linuxfb, tslib works very well.

      B 1 Reply Last reply
      0
      • W wthung

        Is your application only need single touch? tslib only support single touch.
        Our application in low-end device uses tslib to calibrate the touch screen.
        With the backend, linuxfb, tslib works very well.

        B Offline
        B Offline
        BradWalker
        wrote on last edited by
        #3

        @wthung
        I went with TSLIB since we only needed single touch. It works pretty well.

        Thanks for the suggestion!

        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