Buggy mouse and keyboard input when gaming (VFIO, KVM, QEMU, Evdev)

My VM is working great overall, and when I pass USB devices directly it is fine. However, I have Evdev setup and working now, and I like being able to swap one set of peripherals back and forth between host and guest. When I am gaming, it is buggy and inputs will repeat or not register. I followed this guide, including the end about changing IO to threads. I cannot figure out how to get Windows to install drivers from the VirtIO ISO, which might be my issue.

Here are my files for reference, if anyone can help and needs additional info please let me know! Also, I’m trying different pinnings of CPU/threads to figure out what gives me the and best frame times in games, so if you have recommendations that would be great!

XML: https://pastebin.com/crgDqb0p
/etc/libvirt/qemu.conf: https://pastebin.com/9ph0E7Tm

Edit: Don’t think it is that important, but my system specs:

  • CPU: Ryzen 2700x
  • RAM: 32GB
  • GPU(Host): RX580
  • GPU(Guest): GTX 1080Ti
  • Guest has its own dedicated SSD as boot drive
  • Mouse: Logitech G703 Wireless (so I’m passing the adapter)
  • KB: Corsair K70 Rapidfire

Update - The issue seems to be with the Corsair K70. I’m now using a Logitech G810 and it’s working fine. Already sold off the Corsair on fb marketplace. Hopefully I don’t have the same issue with my Steelseries 7 that is in the mail…