Re: Set input device to the output
On Tue, 24 Sep 2019 12:47:09 + Yavuz Selim Mutlu wrote: > Hi there, > > Our board drives two different LVDS displays, and output names are seen as > LVDS-1 and LVDS-2. > When I run the weston the touchscreen events are associated with LVDS-1. > If I touch the LVDS-2 panel which has touchscreen, the LVDS-1 panel is > responsive. > > Weston debug: "associating input device event6 with output LVDS-1 (none by > udev)" > > How can I associate this input device with the LVDS-2 output? Hi, use udev rules to set WL_OUTPUT property on the input device to the output name. Weston uses libinput_device_get_output_name() to fetch it. Looks like this is now documented nowhere, and libinput_device_get_output_name() is listed as discouraged. It should still work though, but may not be portable outside Weston. I filed https://gitlab.freedesktop.org/wayland/weston/issues/283 to improve documentation. Thanks, pq pgpD4_l5fZ6MO.pgp Description: OpenPGP digital signature ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/wayland-devel
Re: Set input device to the output
On Tue, Sep 24, 2019 at 12:47:09PM +, Yavuz Selim Mutlu wrote: > Hi there, > > Our board drives two different LVDS displays, and output names are seen as > LVDS-1 and LVDS-2. > When I run the weston the touchscreen events are associated with LVDS-1. > If I touch the LVDS-2 panel which has touchscreen, the LVDS-1 panel is > responsive. > > Weston debug: "associating input device event6 with output LVDS-1 (none by > udev)" > > How can I associate this input device with the LVDS-2 output? setting WL_OUTPUT=LVDS-2 as udev property on the input device should be all that's needed here. Cheers, Peter ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/wayland-devel
Set input device to the output
Hi there, Our board drives two different LVDS displays, and output names are seen as LVDS-1 and LVDS-2. When I run the weston the touchscreen events are associated with LVDS-1. If I touch the LVDS-2 panel which has touchscreen, the LVDS-1 panel is responsive. Weston debug: "associating input device event6 with output LVDS-1 (none by udev)" How can I associate this input device with the LVDS-2 output? Thanks. Yavuz Selim Mutlu ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/wayland-devel