summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--lib/mouse.pm2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 6687ce1..4e50d14 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- fix detection of touchpad on some kernels (#31584)
+ (need drakxtools-backend >= 10.4.145)
- internal: add many options as having to be used only once, easing their use
and fixing setting them
(eg #31942 where one can't click "Options" after setting EXA)
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;