summaryrefslogtreecommitdiffstats
path: root/perl-install/Xconfig/xfree.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-03-21 15:32:42 +0000
committerOlivier Blin <oblin@mandriva.org>2005-03-21 15:32:42 +0000
commit22be98e89340b7860af5aafa811a896780d4379b (patch)
treefc5881fb71f7cff9e23fb127e33f25b51f0ad528 /perl-install/Xconfig/xfree.pm
parenta5c82c41b6e313386f5f2bc0ecd4407df60f972e (diff)
downloaddrakx-backup-do-not-use-22be98e89340b7860af5aafa811a896780d4379b.tar
drakx-backup-do-not-use-22be98e89340b7860af5aafa811a896780d4379b.tar.gz
drakx-backup-do-not-use-22be98e89340b7860af5aafa811a896780d4379b.tar.bz2
drakx-backup-do-not-use-22be98e89340b7860af5aafa811a896780d4379b.tar.xz
drakx-backup-do-not-use-22be98e89340b7860af5aafa811a896780d4379b.zip
use specific Synaptics settings for ALPS devices (#14512)
Diffstat (limited to 'perl-install/Xconfig/xfree.pm')
-rw-r--r--perl-install/Xconfig/xfree.pm50
1 files changed, 38 insertions, 12 deletions
diff --git a/perl-install/Xconfig/xfree.pm b/perl-install/Xconfig/xfree.pm
index c82f21be0..5b225ab25 100644
--- a/perl-install/Xconfig/xfree.pm
+++ b/perl-install/Xconfig/xfree.pm
@@ -248,18 +248,44 @@ sub set_synaptics {
#- from /usr/share/doc/synaptics-0.14.0/INSTALL
$opt->("Device", $synaptics_mouse->{Device}),
$opt->("Protocol", $synaptics_mouse->{Protocol}),
- $opt->("LeftEdge", 1700),
- $opt->("RightEdge", 5300),
- $opt->("TopEdge", 1700),
- $opt->("BottomEdge", 4200),
- $opt->("FingerLow", 25),
- $opt->("FingerHigh", 30),
- $opt->("MaxTapTime", 180),
- $opt->("MaxTapMove", 220),
- $opt->("VertScrollDelta", 100),
- $opt->("MinSpeed", '0.09'),
- $opt->("MaxSpeed", '0.18'),
- $opt->("AccelFactor", '0.0015'),
+ $synaptics_mouse->{ALPS} ? (
+ #- from /usr/share/doc/synaptics-0.14.0/README.alps
+ #- and http://qa.mandrakesoft.com/show_bug.cgi?id=14512
+ $opt->("LeftEdge", 120),
+ $opt->("RightEdge", 830),
+ $opt->("TopEdge", 120),
+ $opt->("BottomEdge", 650),
+ $opt->("FingerLow", 14),
+ $opt->("FingerHigh", 15),
+ $opt->("MaxTapTime", 180),
+ $opt->("MaxTapMove", 110),
+ $opt->("EmulateMidButtonTime", 75),
+ $opt->("VertScrollDelta", 20),
+ $opt->("HorizScrollDelta", 20),
+ $opt->("MinSpeed", '0.8'),
+ $opt->("MaxSpeed", '1.00'),
+ $opt->("AccelFactor", '0.015'),
+ $opt->("EdgeMotionMinSpeed", 200),
+ $opt->("EdgeMotionMaxSpeed", 200),
+ $opt->("UpDownScrolling", 1),
+ $opt->("CircularScrolling", 1),
+ $opt->("CircScrollDelta", '0.1'),
+ $opt->("CircScrollTrigger", 2),
+ $opt->("UpDownScrolling", 0),
+ ) : (
+ $opt->("LeftEdge", 1700),
+ $opt->("RightEdge", 5300),
+ $opt->("TopEdge", 1700),
+ $opt->("BottomEdge", 4200),
+ $opt->("FingerLow", 25),
+ $opt->("FingerHigh", 30),
+ $opt->("MaxTapTime", 180),
+ $opt->("MaxTapMove", 220),
+ $opt->("VertScrollDelta", 100),
+ $opt->("MinSpeed", '0.09'),
+ $opt->("MaxSpeed", '0.18'),
+ $opt->("AccelFactor", '0.0015'),
+ ),
$opt->("SHMConfig", "on"),
};
$raw_X->add_Section('InputDevice', $h);