Hello! I use virt-manager as frontend for KVM, and I’d like to set the mouse movement mode to “absolute”, that should fix weird mouse problems in the VM for certains applications (games at most: minecraft mouse lock does not work with the default setting). If I go into the VM settings, under “Mouse”, I get:

Virtual Input Device
Type: PS/2 Mouse
Mode: Relative Movement

with no options to change these settings. This is the XML:

<input type="mouse" bus="ps2"/>

can I set this without editing XML? If not, how can I modify the XML to get this work?

thanks in advance!

EDIT: I solved by going in the VM settings > add hardware > input > USB mouse

  • joshbressers@infosec.pub
    link
    fedilink
    arrow-up
    4
    ·
    1 year ago

    You need to add a tablet in kvm for the mouse input. It’ll do exactly what you want by using the location of the local mouse