summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-08-02 14:52:38 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-08-02 14:52:38 +0000
commit5cc8d4067b0cfd45fc6da099aef73efa2881c154 (patch)
treef98f0abe27ab516268a3e2776f389c8da866f7d8 /lib
parentfa82d7676557b9066436ccf1ea38c379ffdfed4b (diff)
downloaddrakx-kbd-mouse-x11-5cc8d4067b0cfd45fc6da099aef73efa2881c154.tar
drakx-kbd-mouse-x11-5cc8d4067b0cfd45fc6da099aef73efa2881c154.tar.gz
drakx-kbd-mouse-x11-5cc8d4067b0cfd45fc6da099aef73efa2881c154.tar.bz2
drakx-kbd-mouse-x11-5cc8d4067b0cfd45fc6da099aef73efa2881c154.tar.xz
drakx-kbd-mouse-x11-5cc8d4067b0cfd45fc6da099aef73efa2881c154.zip
- fix detection of touchpad on some kernels (#31584)
(need drakxtools-backend >= 10.4.145) issue was: H: Handlers=event2 ts0 mouse0 in /proc/bus/input/devices instead of the more usual H: Handlers=mouse0 event2 ts0
Diffstat (limited to 'lib')
-rw-r--r--lib/mouse.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mouse.pm b/lib/mouse.pm
index 9ffd2fd..5ba847d 100644
--- a/lib/mouse.pm
+++ b/lib/mouse.pm
@@ -325,7 +325,7 @@ sub detect {
my @wacom = probe_usb_wacom_devices();
$modules_conf->get_probeall("usb-interface") and eval { modules::load('usbhid') };
- if (my @mice = grep { $_->{driver} =~ /^mouse/ } detect_devices::getInputDevices_and_usb()) {
+ if (my @mice = grep { $_->{Handlers}{mouse} } detect_devices::getInputDevices_and_usb()) {
my @synaptics = map {
{ ALPS => $_->{ALPS} };
} grep { $_->{Synaptics} || $_->{ALPS} } @mice;