summaryrefslogtreecommitdiffstats
path: root/lib/Xconfig/xfree.pm
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@mandriva.com>2009-09-22 14:01:30 +0000
committerChristophe Fergeau <cfergeau@mandriva.com>2009-09-22 14:01:30 +0000
commit85c566c0a2314376412e878207d04ef43eb2d961 (patch)
tree8df78898918dec67895a4bad317c61a55005ad4a /lib/Xconfig/xfree.pm
parent01409fc4cedf7134e976021d7776c122e0e08826 (diff)
downloaddrakx-kbd-mouse-x11-85c566c0a2314376412e878207d04ef43eb2d961.tar
drakx-kbd-mouse-x11-85c566c0a2314376412e878207d04ef43eb2d961.tar.gz
drakx-kbd-mouse-x11-85c566c0a2314376412e878207d04ef43eb2d961.tar.bz2
drakx-kbd-mouse-x11-85c566c0a2314376412e878207d04ef43eb2d961.tar.xz
drakx-kbd-mouse-x11-85c566c0a2314376412e878207d04ef43eb2d961.zip
don't add sections for synaptics devices to xorg.conf
Diffstat (limited to 'lib/Xconfig/xfree.pm')
-rw-r--r--lib/Xconfig/xfree.pm52
1 files changed, 0 insertions, 52 deletions
diff --git a/lib/Xconfig/xfree.pm b/lib/Xconfig/xfree.pm
index 45d61b9..f03bc88 100644
--- a/lib/Xconfig/xfree.pm
+++ b/lib/Xconfig/xfree.pm
@@ -294,58 +294,6 @@ sub set_wacoms {
} @wacoms;
}
-
-################################################################################
-# synaptics ####################################################################
-################################################################################
-sub set_synaptics {
- my ($raw_X, @synaptics) = @_;
- $raw_X->remove_InputDevices('synaptics');
-
- @synaptics or return;
-
- my $layout = get_ServerLayout($raw_X)->{InputDevice} ||= [];
- each_index {
- my $synaptics_mouse = $_;
- my $identifier = "SynapticsMouse" . ($::i + 1);
- my $h = {
- Identifier => { val => $identifier },
- Driver => { val => "synaptics" },
- };
- my %opts = (
- if_($synaptics_mouse->{ALPS},
- #- from /usr/share/doc/synaptics-0.14.0/README.alps
- #- and http://qa.mandriva.com/show_bug.cgi?id=14512
- LeftEdge => 120,
- RightEdge => 830,
- TopEdge => 120,
- BottomEdge => 650,
- FingerLow => 14,
- FingerHigh => 15,
- MaxTapMove => 110,
- VertScrollDelta => 20,
- HorizScrollDelta => 20,
- MinSpeed => '0.8',
- MaxSpeed => '1.00',
- AccelFactor => '0.015',
- EdgeMotionMinSpeed => 200,
- EdgeMotionMaxSpeed => 200,
- UpDownScrolling => 1,
- CircularScrolling => 1,
- CircScrollTrigger => 2,
- UpDownScrolling => 0,
- ), #- use default driver options for non-ALPS
- SHMConfig => "on",
- );
- while (my ($k, $v) = each %opts) {
- $h->{$k} = { val => $v, Option => 1 };
- }
- $raw_X->add_Section('InputDevice', $h);
- push @$layout, { val => qq("$identifier" "SendCoreEvents") };
- } @synaptics;
-}
-
-
################################################################################
# monitor ######################################################################
################################################################################