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
    link
    fedilink
    41 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

  • @ReakDuck@lemmy.ml
    link
    fedilink
    11 year ago

    I think that KVM has nothing to do with absolute or flat mouse input, the OS is deciding afaik

    • tubbaduOP
      link
      11 year ago

      uhm so the setting should be inside the OS installed in the VM?

      • @ReakDuck@lemmy.ml
        link
        fedilink
        11 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.

        • tubbaduOP
          link
          21 year ago

          enabling the passthrough of the USB mouse fixed my problem! thanks!

          • @ReakDuck@lemmy.ml
            link
            fedilink
            21 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.