river icon indicating copy to clipboard operation
river copied to clipboard

Support mapping input devices to outputs

Open ifreund opened this issue 3 years ago • 2 comments

If using a laptop with a touchscreen and an external monitor, it is desirable to have the touchscreen inputs interpreted relative to the laptop screen specifically. I'm not aware of any way to do this mapping automatically, so we probably need something akin to sway's map_to_output input configuration.

ifreund avatar Jun 22 '22 14:06 ifreund

Would something along the lines of buffet/kiwmi#65 work for automatic mapping?

ghost avatar Jul 15 '22 19:07 ghost

@tiosgz Hmm, yes something like that should be implemented for pointer and touch input devices to make the X11/Wayland backends work properly. That wouldn't solve this issue however, which is about the DRM backend where the input device's output_name is not set by wlroots afaik.

ifreund avatar Jul 15 '22 21:07 ifreund