https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221074

--- Comment #13 from Dexuan Cui <de...@microsoft.com> ---
(In reply to Dwerva from comment #12)
Hi Dwerva, maybe you can use a Generation-1 FreeBSD VM as a workaround? Mouse
works with Gen1 FreeBSD VMs, because Hyper-V emulates a legacy mouse.

For Gen-2 VMs, Hyper-V doesn't emulate the legacy mouse, so we have to develop
a para-virtualized front-end mouse driver in the VM to use mouse. For Linux VM,
the driver is
https://github.com/torvalds/linux/blob/master/drivers/hid/hid-hyperv.c. I once
tried to port the driver to FreeBSD, but unluckily it turned out I couldn't
understand how the mouse APIs work in FreeBSD (I studied the mouse APIs for a
few days but still didn't quite understand which sets of API should be used and
how the Hyper-V mouse events should be converted to the mouse events that can
be understood by FreeBSD) so I gave up... :-( I hope somebody with more
knowledge on FreeBSD mouse APIs can help.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"

Reply via email to