Install this version:
emerge -a =x11-drivers/xf86-input-vmmouse-9999
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =x11-drivers/xf86-input-vmmouse-9999
Or alternatively:
emerge --autounmask-write -a =x11-drivers/xf86-input-vmmouse-9999
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit udev xlibre
DESCRIPTION="VMWare mouse input driver"
HOMEPAGE="https://github.com/X11Libre/xf86-input-vmmouse"
if [[ ${PV} != 9999* ]]; then
KEYWORDS="~amd64 ~x86"
fi
DEPEND="x11-base/xorg-proto"
src_configure() {
local XLIBRE_CONFIGURE_OPTIONS=(
--with-udev-rules-dir=$(get_udevdir)/rules.d
)
xlibre_src_configure
}
pkg_postinst() {
udev_reload
}
pkg_postrm() {
udev_reload
}
x11-base/xorg-proto