I recently downgraded my FreeBSD host from 13-CURRENT to 12.x in order to be able to use the VirtualBox bridge mode. I plan to run CURRENT in VirtualBox.
If I install CURRENT r359106 in VirtualBox, and then install emulators/virtualbox-ose-additions and Xorg, I am able to move the mouse but not click it in the guest.
Anyone else having this issue?
I'm seeing the same with FreeBSD 12.1 guest on both FreeBSD and OS X hosts.
FYI, enabling moused in the guest is a simple workaround in my case.
I have the same issue with a FreeBSD 12.1-p8 guest running virtualbox-ose-additions 5.2.44 and xorg-server 1.20.8 in VirtualBox 6.1.12 on a Windows 10 Pro 1909 host. Can confirm that enabling moused helps.
To fix this, set the sysctl kern.evdev.rcpt_mask to 12.
This is not related to virtualbox. When xserver was updated 1.20, we changed how input devices were handled on FreeBSD 12 and later. Unfortunately, 12.1 was already released, so it was not possible to update the default value for the sysctl above. For 12.2, the sysctl above will have the value 12 by default.