summaryrefslogtreecommitdiffstats
path: root/perl-install/mouse.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/mouse.pm')
-rw-r--r--perl-install/mouse.pm6
1 files changed, 4 insertions, 2 deletions
diff --git a/perl-install/mouse.pm b/perl-install/mouse.pm
index 4766db9a1..20d23f58f 100644
--- a/perl-install/mouse.pm
+++ b/perl-install/mouse.pm
@@ -297,8 +297,8 @@ sub detect {
if (my ($synaptics_touchpad) = detect_devices::getSynapticsTouchpads()) {
$univ_mouse->{auxmouse} = {
name => N_("Synaptics Touchpad"),
- Device => 'input/mice',
- Protocal => 'auto-dev',
+ device => 'input/mice',
+ XMOUSETYPE => 'auto-dev',
ALPS => $synaptics_touchpad->{description} =~ /ALPS/,
};
}
@@ -391,6 +391,8 @@ sub set_xfree_conf {
}
$synaptics and $xfree_conf->set_synaptics(map { {
+ Device => "/dev/$_->{device}",
+ Protocol => $_->{XMOUSETYPE},
Primary => 0,
ALPS => $_->{ALPS},
} } @$synaptics);