Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-74680

Use ts_setup() to match default tslib search behavior

    XMLWordPrintable

Details

    • Linux/Other display system
    • 093a1a6232083e5b9c18a9e85e5759ba3ce280fb (qt/qtbase/dev)

    Description

      The tslib handler checks the TSLIB_TSDEVICE environment variable and then falls back to /dev/input/event1. Tslib itself does a few other things, e.g. checking for /dev/input/touchscreen. So if one does not specify the environment variable it can easily happen that things work in tslib (e.g. ts_calibrate), but not with Qt.

      Is there any reason not to use ts_setup(), which does all this, and afterwards print out which device is used? This function also looks into the same environment variable first, and scans input devices if no default path matches, so it should not cause great surprises.

      Is there any reason not to go this route? Otherwise I can cook up a patch.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            srutledg Shawn Rutledge
            rebemlix Rolf Eike Beer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes