I have an external AOC 16T2 touchscreen, which is recognized as an touchscreen.
In X11 this works fine in extended desktop/join displays after mapping the touch input to the external screen.
xinput map-to-output <xinput-id> <xrandr-id>
BTW I'm not sure why this is not the default, because having to touch the external monitor to click on a link on the first monitor does not make any sense IMHO.
In Wayland this does not work. xinput
(wrapper) is not recognizing the monitor anymore, so there is no <xinput-id>
The touchscreen is still working, but a click on the secondary screen is recorded as a click on the first screen, which is wrong.
libinput
is listing the device:
Device: Melfas LGDisplay Incell TouchKernel: /dev/input/event13Group: 5Seat: seat0, defaultSize: 341x195mmCapabilities: touch Tap-to-click: n/aTap-and-drag: n/aTap drag lock: n/aLeft-handed: n/aNat.scrolling: n/aMiddle emulation: n/aCalibration: identity matrixScroll methods: noneClick methods: noneDisable-w-typing: n/aAccel profiles: n/aRotation: n/a
How can I fix the input mapping problem in the default Ubuntu 22.04 Wayland?