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

    • ReakDuck
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      I assume, yes. Otherwise it wouldn’t make sense. KVM just passes the mouse as is afaik. I am no expert but I just my daily life logic to it. Maybe i am completely wrong.

      The only use case I have for KVM Qemu is to passthrough my whole USB PCI from mainboard and GPU and play VR on a VM.

        • ReakDuck
          link
          fedilink
          arrow-up
          2
          ·
          1 year ago

          Well, then maybe it was some weird mouse emulation thing. Now I wonder if it actually has flat/adaptive mode or if its just too laggy/weird.