TOUCHSCREEN rotation on QPA/Wayland
The touchscreen on TI AM335x EVM is in reverse order, i.e starting from bottom-right instead of top-left.
We were able to handle this at our QT5 Matrix-Gui application by setting the environment variable QT_QPA_EVDEV_TOUCHSCREEN_PARAMETERS="rotate=180" with QPA = EGLFS and LINUXFB.
We just found out that the same mechanism does not work with window-type QPA plugins such as Wayland.
Does anyone know how to specify touchscreen rotation on Wayland platform plugins?
You should try contacting the Wayland maintainer about that matter.
The touchscreen rotation is taken care by the Wayland touchscreen calibration and on other transformation operation outside Weston is required.
My question is whether Wayland compositor should support touch screen
rotation and if the answer is yes, when will this feature be
Yes, it is the compositor's job to handle it.
available? Attached please find a hacking patch as a proof of concept
only for your reference.
It is already supported, see:
In its current form, WL_CALIBRATION support was first released with Weston 1.6. Note, that it is configured via udev, not weston.
I hope that the information above is helpful.