Open iacore opened 2 years ago
Should this be handled through the GUI protocol?
Yes. This will likely be a major change to the GUI protocol, where each event has its own device id. The fake device driver need to be changed to create correct fake devices too. Besides mouse/keyboard capture, some games use controller capture (probably how XBox controller light up). Also, controller rumble is handled by X Input Extension as "actuator" or something.
The problem you're addressing (if any)
4986
The solution you'd like
Add XInput Devices beside USB Devices to a list of devices to be attached. One input device can be attached to multiple VMs at once. By default, a filtered version of mouse and keyboard will be attached to every VM.
The value to a user, and who that user might be