hyprwm / xdg-desktop-portal-hyprland

xdg-desktop-portal backend for Hyprland
BSD 3-Clause "New" or "Revised" License
307 stars 49 forks source link

[Feature Request] EIS Support #64

Open jeverest opened 1 year ago

jeverest commented 1 year ago

One great application that is struggling to get wayland compositor support is input-leap, a mouse/keyboard sharing app. It looks like the community over there has funded the development of wayland support in the core app but there are some upstrem dev needed in the wlr space to fully support it.

Any interest in adding support here?

JPenuchot commented 1 year ago

~It's not yet certain that libei support is required for Input Leap to support wlr compositors since Wayland has a protocol for input emulation.~

EDIT: Input Leap devs seem to confirm that EIS support from compositors would be required for Input Leap to work.

jeverest commented 1 year ago

FYI, there are some glimmers that this is being supported upstream. I see reports in the linked issue above that Input-Leap is working for short durations within wayland and I can confirm this behavior.

vaxerski commented 1 year ago

isn't this just a request to support RemoteDesktop?

what about https://gitlab.freedesktop.org/wlroots/wlr-protocols/-/blob/master/unstable/wlr-virtual-pointer-unstable-v1.xml

scotus-1 commented 1 year ago

I think so, libei/EIS requires the RemoteDesktop.ConnectToEIS implementation and the InputCapture portals. I'm not sure I am using the correct terminology or am correct at all, but wlr-virtual-pointer isn't implemented by Input Leap and libei, its dependency for emulated input in Wayland.

https://gitlab.freedesktop.org/libinput/libei/-/issues/1

Other portals including xdg-desktop-portal-kde and XDGW have issues and drafted pull requests (that have not been updated in months), so I assume this would be a heavy undertaking specifically for XDGH and may be just worth waiting/reviving the upstream PR.

Shuna322 commented 10 months ago

+1 on this feature, Input-leap now works great on some thanks to libei and I believe libportal Remote Desktop portal

ruckerzerg commented 10 months ago

This is the only thing stopping me from fully switching from Gnome to Hyprland, so +1 on this!

erajtob commented 9 months ago

+1

zaheenadeep commented 9 months ago

+1 would love to have this

mmoinsiaam commented 9 months ago

+1

vaxerski commented 9 months ago

Consider not spamming +1 but adding a :+1: and reading my comment here: https://github.com/hyprwm/xdg-desktop-portal-hyprland/issues/70#issuecomment-1932114083

jpeeler commented 9 months ago

Unless I'm mistaken, you could alternatively use https://github.com/feschber/lan-mouse. However, the bugs mentioned on the readme would also need fixing: https://github.com/hyprwm/Hyprland/issues/4568 https://github.com/hyprwm/Hyprland/issues/4465 https://github.com/hyprwm/Hyprland/issues/4464

Readf0x commented 9 months ago

Consider not spamming +1 but adding a 👍 and reading my comment here: #70 (comment)

Y'know, I could've sworn I saw that +1s are bad somewhere, but I saw all the existing ones and didn't think much further... Sorry :P

ziova commented 2 months ago

Any updates on this?

3l0w commented 2 months ago

268 is on his way, its not yet polish but it can be tested freely.

Make sure you are using my fork of Hyprland to do so: 3l0w/Hyprland/feat/input-capture