From b95218576ac49d2e496142b81d332309c1b27905 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Mon, 27 Sep 2004 14:03:07 +0000 Subject: use input/mice instead of psaux for synaptics touchpads (#11771) (input/mice won't work with 2.4 kernels, but it doesn't matter since the config file is rewritten at boot on major kernel change, and synaptics devices are not configured for 2.4 kernels) --- perl-install/mouse.pm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'perl-install/mouse.pm') diff --git a/perl-install/mouse.pm b/perl-install/mouse.pm index 959188276..3430c2713 100644 --- a/perl-install/mouse.pm +++ b/perl-install/mouse.pm @@ -32,9 +32,9 @@ my %mice = [ 5, 'ps/2', 'MouseManPlusPS/2', N_("Logitech MouseMan+") ], [ 5, 'imps2', 'IMPS/2', N_("Generic PS2 Wheel Mouse") ], [ 5, 'ps/2', 'GlidePointPS/2', N_("GlidePoint") ], - c::kernel_version() =~ /^\Q2.6/ ? - [ 5, 'ps/2', 'auto-dev', N_("Synaptics Touchpad") ] : - [ 5, 'imps2', 'auto', N_("Automatic") ], + if_(c::kernel_version() !~ /^\Q2.6/, + [ 5, 'imps2', 'auto', N_("Automatic") ] + ), '', [ 5, 'ps/2', 'ThinkingMousePS/2', N_("Kensington Thinking Mouse") ], [ 5, 'netmouse', 'NetMousePS/2', N_("Genius NetMouse") ], @@ -86,6 +86,7 @@ my %mice = N_("Universal") => [ [ 'input/mice' ], [ [ 7, 'ps/2', 'ExplorerPS/2', N_("Any PS/2 & USB mice") ], + [ 5, 'ps/2', 'auto-dev', N_("Synaptics Touchpad") ], ] ], ), -- cgit v1.2.1