summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-06-16 12:22:52 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-06-16 12:22:52 +0000
commitfdea217b2ca6af2ba7d3e1dd20ae834de21d5ce3 (patch)
tree25a25ff0a31430b0ee06ddcd3d1e1ad680168448 /perl-install/standalone
parentad824ff22cc3f0e1c03cd37fd7f791312a1468d7 (diff)
downloaddrakx-fdea217b2ca6af2ba7d3e1dd20ae834de21d5ce3.tar
drakx-fdea217b2ca6af2ba7d3e1dd20ae834de21d5ce3.tar.gz
drakx-fdea217b2ca6af2ba7d3e1dd20ae834de21d5ce3.tar.bz2
drakx-fdea217b2ca6af2ba7d3e1dd20ae834de21d5ce3.tar.xz
drakx-fdea217b2ca6af2ba7d3e1dd20ae834de21d5ce3.zip
no_comment
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/mousedrake4
1 files changed, 4 insertions, 0 deletions
diff --git a/perl-install/standalone/mousedrake b/perl-install/standalone/mousedrake
index 7ac3b927d..d854b913d 100755
--- a/perl-install/standalone/mousedrake
+++ b/perl-install/standalone/mousedrake
@@ -48,6 +48,10 @@ substInFile {
if (/^Section "Pointer"/ .. /^EndSection/) {
s|^(\s*Protocol\s+).*|$1"$mouse->{XMOUSETYPE}"|;
s|^(\s*Device\s+).*|$1"/dev/mouse"|;
+#- my $zaxis = "4 5" if $mouse->{nbuttons} > 3;
+#- $zaxis .= " 6 7" if $mouse->{nbuttons} > 5;
+#- s|^(\s*ZAxisMapping\s+).*|$1$zaxis| if $zaxis;
+#- s|^([#]\s*ZAxisMapping\s+).*|# ZAxisMapping\t\n|; }
}
} $f if -e $f && !$::testing;
substInFile {