How do I calibrate the touchscreen of an external display under wayland - sway?
If I plug an external monitor with touch support the touch input is getting mapped to the main monitor, not the external one.
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.
Sign up to join this communityHow do I calibrate the touchscreen of an external display under wayland - sway?
If I plug an external monitor with touch support the touch input is getting mapped to the main monitor, not the external one.
swaymsg -t get_inputs
swaymsg -t get_outputs
swaymsg input <input> map_to_output <output>
input <input> map_to_output <output>
for me the command looked like the following:
input "8146:32786:Siliconworks_SiW_HID_Touch_Controller" map_to_output DP-1