Input passthrough to a QEMU/libvirt VM


I have recently set up a Windows 10 VM on Manjaro Linux using libvirt. Since I use this VM for gaming, I have passed through a GPU and am currently using evdev for my input devices. So far, so good, it is working as intended. The problem is that the guest only gets a generic keyboard and mouse with evdev, so the side buttons on my mouse don’t work and I can’t install the drivers on the guest to configure profiles.

Is there a way to get around this problem while still being able to switch the input devices between host and guest? Synergy seems to be an option, but I don’t really want to pay for something that already kind of works with evdev.

Any help would be really appreciated! :smile:

passthrough a USB controller and physically move your peripherals from one to the other.

or there’s a software called VirtualHere. its basically USB over IP.

1 Like