summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2016-06-20 12:02:22 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2016-06-20 12:02:36 +0200
commit52409c682c37ab200f636af9254d4328c5c988ec (patch)
tree4af024ada4b14f7f7ca600820f557f66fa603e66 /lib
parentc197057494d65404d8f7e85f5785e966a64e5b01 (diff)
downloaddrakx-kbd-mouse-x11-52409c682c37ab200f636af9254d4328c5c988ec.tar
drakx-kbd-mouse-x11-52409c682c37ab200f636af9254d4328c5c988ec.tar.gz
drakx-kbd-mouse-x11-52409c682c37ab200f636af9254d4328c5c988ec.tar.bz2
drakx-kbd-mouse-x11-52409c682c37ab200f636af9254d4328c5c988ec.tar.xz
drakx-kbd-mouse-x11-52409c682c37ab200f636af9254d4328c5c988ec.zip
stop installing x11-driver-input-vmmouse
it's uneeded since kernel-4.1...
Diffstat (limited to 'lib')
-rw-r--r--lib/mouse.pm6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/mouse.pm b/lib/mouse.pm
index 374f14b..7827e53 100644
--- a/lib/mouse.pm
+++ b/lib/mouse.pm
@@ -87,7 +87,6 @@ sub _all_mice() {
[ 7, 'ps/2', 'ExplorerPS/2', N_("Force evdev") ], #- evdev is magically handled in mouse::select()
if_(detect_devices::is_xbox(), [ 5, 'ps/2', 'IMPS/2', N_("Microsoft Xbox Controller S") ]),
if_(detect_devices::is_virtualbox(), [ 7, 'ps/2', 'vboxmouse', N_("VirtualBox mouse") ]),
- if_(detect_devices::is_vmware(), [ 7, 'ps/2', 'vmmouse', N_("VMware mouse") ]),
] ],
N_("none") =>
@@ -298,8 +297,6 @@ sub detect {
$modules_conf->get_probeall("usb-interface") and eval { modules::load('usbhid') };
if (detect_devices::is_virtualbox()) {
fullname2mouse("Universal|VirtualBox mouse");
- } elsif (detect_devices::is_vmware()) {
- fullname2mouse("Universal|VMware mouse");
} elsif (my @mice = grep { $_->{Handlers}{mouse} } detect_devices::getInputDevices_and_usb()) {
my @synaptics = map {
{ ALPS => $_->{ALPS} };
@@ -354,7 +351,7 @@ sub set_xfree_conf {
my @mice = map {
{
- (member($_->{Protocol}, qw(vboxmouse vmmouse)) ? "Driver" : "Protocol") => $_->{Protocol},
+ ($_->{Protocol} eq 'vboxmouse' ? "Driver" : "Protocol") => $_->{Protocol},
Device => devices::make($_->{device}),
if_($_->{Emulate3Buttons} || $_->{EmulateWheel}, Emulate3Buttons => undef, Emulate3Timeout => 50),
if_($_->{EmulateWheel}, EmulateWheel => undef, EmulateWheelButton => 2),
@@ -398,7 +395,6 @@ sub various_xfree_conf {
if_($mouse->{evdev_mice}, ['x11-driver-input-evdev', "$inputdrvpath/evdev_drv.so"]),
if_($mouse->{Protocol} eq 'vboxmouse', ['x11-driver-input-vboxmouse', "$inputdrvpath/vboxmouse_drv.so"]),
if_(@{$mouse->{wacom}}, ['x11-driver-input-wacom', "$inputdrvpath/wacom_drv.so"]),
- if_($mouse->{name} =~ /VMware/i, ['x11-driver-input-vmmouse', "$inputdrvpath/vmmouse_drv.so"]),
];
$do_pkgs->ensure_files_are_installed($pkgs, 1);