Details
-
Bug
-
Resolution: Out of scope
-
P2: Important
-
None
-
5.6.0
-
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?