summaryrefslogtreecommitdiffstats
path: root/perl-install/mouse.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-08-05 04:23:39 +0000
committerOlivier Blin <oblin@mandriva.org>2005-08-05 04:23:39 +0000
commit89a14b9204e0caad6d143949e0ea9c4cf2173df9 (patch)
tree519b1c93edb0466e653010a6b5faa993c93c86cb /perl-install/mouse.pm
parent6d1a9d2a8eb719e5ff0e3ea3517b3e59075f306c (diff)
downloaddrakx-backup-do-not-use-89a14b9204e0caad6d143949e0ea9c4cf2173df9.tar
drakx-backup-do-not-use-89a14b9204e0caad6d143949e0ea9c4cf2173df9.tar.gz
drakx-backup-do-not-use-89a14b9204e0caad6d143949e0ea9c4cf2173df9.tar.bz2
drakx-backup-do-not-use-89a14b9204e0caad6d143949e0ea9c4cf2173df9.tar.xz
drakx-backup-do-not-use-89a14b9204e0caad6d143949e0ea9c4cf2173df9.zip
move is_xbox from common to detect_devices
Diffstat (limited to 'perl-install/mouse.pm')
-rw-r--r--perl-install/mouse.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/mouse.pm b/perl-install/mouse.pm
index f11fcc3d5..e991514cc 100644
--- a/perl-install/mouse.pm
+++ b/perl-install/mouse.pm
@@ -86,7 +86,7 @@ my %mice =
N_("Universal") =>
[ [ 'input/mice' ],
[ [ 7, 'ps/2', 'ExplorerPS/2', N_("Any PS/2 & USB mice") ],
- if_(is_xbox(), [ 5, 'ps/2', 'IMPS/2', N_("Microsoft Xbox Controller S") ]),
+ if_(detect_devices::is_xbox(), [ 5, 'ps/2', 'IMPS/2', N_("Microsoft Xbox Controller S") ]),
] ],
),
@@ -295,7 +295,7 @@ sub detect {
if (c::kernel_version() =~ /^\Q2.6/) {
$modules_conf->get_probeall("usb-interface") and eval { modules::load('usbhid') };
if (cat_('/proc/bus/input/devices') =~ /^H: Handlers=mouse/m) {
- if (is_xbox()) {
+ if (detect_devices::is_xbox()) {
return fullname2mouse('Universal|Microsoft Xbox Controller S');
}
my $univ_mouse = fullname2mouse('Universal|Any PS/2 & USB mice', wacom => \@wacom);