gnif / LookingGlass

An extremely low latency KVMFR (KVM FrameRelay) implementation for guests with VGA PCI Passthrough.
GNU General Public License v2.0
4.64k stars 257 forks source link

[Request] Ability to NOT capture certain keys #1084

Closed Asmageddon closed 1 year ago

Asmageddon commented 1 year ago

In my specific use case, the media keys, or ScrollLock remapped to act as Play/Pause with .Xmodmap.

gnif commented 1 year ago

the wayland and xorg APIs do not allow this, it is not possible.

Asmageddon commented 1 year ago

@gnif Would it be possible to instead un-capture input, fire an xorg/Wayland event for the key, and re-capture input?

gnif commented 1 year ago

In theory yes, but such a hack would never be accepted into this project I am sorry.

Asmageddon commented 1 year ago

I understand. In lieu of that, could I request the ability to reposition the "Capture enabled" popup, so that it is not obtrusive when capture is toggled?

gnif commented 1 year ago

If you like you can actually disable it with win:alerts=no