Currently my system has two screens, corresponding to framebuffer /dev/fb0, /dev/fb2, and two touch devices, /dev/input/touchscreen0, /dev/input/touchscreen1
The system uses DISTRO=fslc-wayland
and when the system boots, weston is only displayed on one screen, so I changed the weston startup service (/lib/systemd/system/weston.service) as follows:
ExecStart=/usr/bin/weston-launch -- --log=/var/log/weston.log $OPTARGS --use-g2d=1 --device=/dev/fb0,/dev/fb2 --idle-time=0
After modification, I am able to extend the display, but the role position of both touch devices are on the same screen, is there any way to bind the touch devices to the screen correspondingly?