mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-08-22 07:01:30 +00:00
[client] evdev: fix input capture and device handling
Classify configured devices by keyboard and pointer capability so automatic keyboard capture leaves relative pointer devices with the display server. Run descriptor, grab, physical-state, and LED operations on one worker. Marshal normalized events through each display server's event loop and serialize ownership changes with per-lane barriers. Fall back whole lanes to native input when an evdev cohort cannot be owned, and retry missing or removed devices without disabling the rest. Handle report framing, SYN_DROPPED, high-resolution wheels, queue overflow, held-state cleanup, and guest-driven keyboard LEDs. Restore host LEDs and kernel grabs during teardown. Re-evaluate capture when the active input transport changes.
This commit is contained in:
@@ -95,7 +95,10 @@ Evdev capture
|
||||
-------------
|
||||
|
||||
Advanced users may list Linux evdev devices in ``input:evdev``. They become
|
||||
active whenever Looking Glass grabs the keyboard, including capture mode and
|
||||
automatic keyboard capture. The client user must be allowed to read those
|
||||
devices. Keep ``input:evdevExclusive=yes`` unless duplicate input from the
|
||||
window system is specifically required.
|
||||
active when Looking Glass captures their keyboard or relative-pointer role.
|
||||
Automatic capture takes keyboard-only devices without taking mouse input from
|
||||
the window system, while full capture takes both roles. Guest keyboard lock
|
||||
LEDs are mirrored while a writable keyboard is captured. The client user must
|
||||
be allowed to read the configured devices and write them for LED mirroring.
|
||||
Keep ``input:evdevExclusive=yes`` unless input from other window-system
|
||||
devices is also required.
|
||||
|
||||
Reference in New Issue
Block a user