I'm having a weird problem with my Windows 10 VM. I'm passing through a USB PCIe controller to the VM (and a GPU) and everything works fine with keyboard, mouse, USB audio dongle, GPU.
But when I launch a game (CS: GO, Starcraft I/II), the keyboard stops working. I've tried 2 USB keyboards now with both the same issue (wired and wireless). I've resorted to passing a keyboard directly to the VM and the keyboard works fine at that point. Any ideas of how to resolve this?