Ability to configure touchscreen from Displays panel
I often connect a projector with touchscreen to my laptop while giving presentations. The problem is that touchscreen is mapped to my laptop's internal display while touches being collected from projector screen, which makes touchscreen useless since it controls apps on another display. On X.org session there's XInput CLI for mapping touchscreens to monitors, but on Wayland I found no way to make Mutter map touchscreen to external display.
I think that control center should have some extra GUI to manage touchscreen on displays panel. Maybe this issue is related to Mutter/Shell as well, since compositor might also need way to set those mappings.
AFAIK Sway can do that via config or commands. I don't know other Wayland compositors capable of such config.
Proposed Mockups:
A dropdown for touchscreen devices in display settings?
A dropdown for displays in a new section for every touchscreen?
Some nice drag&drop style config for touchscreens?
Design Tasks
-
Design UI for binding
Development Tasks
-
Set mapping inside Mutter
QA Tasks
-
Make sure nothing regresses
Extra
I'm on 3.36, if this was addressed in 3.38 or 40 feel free to close.