summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/mousedrake
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/standalone/mousedrake')
-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 {