Add usb evdev passthrough of mouse and keyboard.

This commit is contained in:
redxef 2022-01-18 11:50:29 +01:00
parent fc77dab6d6
commit aea6ae09f5

View file

@ -4,3 +4,8 @@
-device usb-host,hostbus=1,hostport=6.4
-device vfio-pci,host=$GPU_ID,multifunction=on,id=gpu,romfile=$GPU_ROM
-device vfio-pci,host=$AUDIO_ID,id=audio
-object input-linux,id=kbd11,evdev=/dev/input/by-id/usb-Wooting_WootingTwo_WOOT_001_A01B1852W021H00067-event-if04
-object input-linux,id=kbd12,evdev=/dev/input/by-id/usb-Wooting_WootingTwo_WOOT_001_A01B1852W021H00067-if03-event-kbd,grab_all=on,repeat=on
-object input-linux,id=mouse11,evdev=/dev/input/by-id/usb-Mad_Catz_Global_MADCATZ_R.A.T._8+_gaming_mouse-event-if01
-object input-linux,id=mouse12,evdev=/dev/input/by-id/usb-Mad_Catz_Global_MADCATZ_R.A.T._8+_gaming_mouse-event-mouse
-object input-linux,id=mouse13,evdev=/dev/input/by-id/usb-Mad_Catz_Global_MADCATZ_R.A.T._8+_gaming_mouse-if01-event-kbd,grab_all=on,repeat=on