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

There is no way to enable Touchscreen rotation with QPA Wayland

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P2: Important
    • None
    • 5.6.0
    • QPA: Wayland
    • None

    Description

      It is not a bug, but a missing feature or something which should be done outside QT5.

      We were able to achieve 180-degree rotation of the touch screen on TI's AM335x EVM foir QPA LinuxFB and EGLFS before per QT manual below.

      "Input on eglfs and linuxfb without libinput

      Parameters like the device node name can be set in the environment variables QT_QPA_EVDEV_MOUSE_PARAMETERS, QT_QPA_EVDEV_KEYBOARD_PARAMETERS and QT_QPA_EVDEV_TOUCHSCREEN_PARAMETERS. Additionally, the built-in input handlers can be disabled by setting QT_QPA_EGLFS_DISABLE_INPUT or QT_QPA_FB_DISABLE_INPUT to 1. On some touch screens the coordinates must be rotated, which is done by setting QT_QPA_EVDEV_TOUCHSCREEN_PARAMETERS to rotate=180."

      It is clear that this method is only applicable to EGLFS and LinuxFB without libinput.

      I am not able to find out an equivalent solution for QPA Wayland which invokes libinput.
      Can the touch screen rotation be implemented within QT, or such operation should be done within Weston/Wayland/Libinput?

      Attachments

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

        Activity

          People

            janichol Andy Nichols
            ericruei Eric Ruei
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes