summaryrefslogtreecommitdiff
path: root/debian/patches/02-do-not-use-synaptics-for-keyboards.patch
blob: a756a5d8a26644f56095a95f5572dca303038cce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
do not use the synaptics driver for devices advertising themselves as keyboards
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=524130

Index: xserver-xorg-input-synaptics/conf/11-x11-synaptics.fdi
===================================================================
--- xserver-xorg-input-synaptics.orig/conf/11-x11-synaptics.fdi	2009-11-21 13:15:39.064182104 +0900
+++ xserver-xorg-input-synaptics/conf/11-x11-synaptics.fdi	2009-11-21 13:16:23.404256090 +0900
@@ -2,30 +2,34 @@
 <deviceinfo version="0.2">
   <device>
     <match key="info.capabilities" contains="input.touchpad">
-        <merge key="input.x11_driver" type="string">synaptics</merge>
-        <!-- Arbitrary options can be passed to the driver using
-             the input.x11_options property since xorg-server-1.5. -->
-        <!-- EXAMPLES:
-        Switch on shared memory, enables the driver to be configured at runtime
-	<merge key="input.x11_options.SHMConfig" type="string">true</merge>
-
-	Maximum movement of the finger for detecting a tap
-	<merge key="input.x11_options.MaxTapMove" type="string">2000</merge>
-
-	Enable vertical scrolling when dragging along the right edge
-	<merge key="input.x11_options.VertEdgeScroll" type="string">true</merge>
-
-	Enable vertical scrolling when dragging with two fingers anywhere on the touchpad
-	<merge key="input.x11_options.VertTwoFingerScroll" type="string">true</merge>
-
-	Enable horizontal scrolling when dragging with two fingers anywhere on the touchpad
-	<merge key="input.x11_options.HorizTwoFingerScroll" type="string">true</merge>
-
-	If on, circular scrolling is used
-	<merge key="input.x11_options.CircularScrolling" type="string">true</merge>
-
-	For other possible options, check CONFIGURATION DETAILS in synaptics man page
-        -->
+      <!-- do not use the synaptics driver for devices advertising
+	   themselves as keyboards -->
+      <match key="info.capabilities" contains_not="input.keyboard">
+          <merge key="input.x11_driver" type="string">synaptics</merge>
+          <!-- Arbitrary options can be passed to the driver using
+               the input.x11_options property since xorg-server-1.5. -->
+          <!-- EXAMPLES:
+          Switch on shared memory, enables the driver to be configured at runtime
+          <merge key="input.x11_options.SHMConfig" type="string">true</merge>
+
+          Maximum movement of the finger for detecting a tap
+          <merge key="input.x11_options.MaxTapMove" type="string">2000</merge>
+
+          Enable vertical scrolling when dragging along the right edge
+          <merge key="input.x11_options.VertEdgeScroll" type="string">true</merge>
+
+          Enable vertical scrolling when dragging with two fingers anywhere on the touchpad
+          <merge key="input.x11_options.VertTwoFingerScroll" type="string">true</merge>
+
+          Enable horizontal scrolling when dragging with two fingers anywhere on the touchpad
+          <merge key="input.x11_options.HorizTwoFingerScroll" type="string">true</merge>
+
+          If on, circular scrolling is used
+          <merge key="input.x11_options.CircularScrolling" type="string">true</merge>
+
+          For other possible options, check CONFIGURATION DETAILS in synaptics man page
+          -->
+      </match>
     </match>
   </device>
 </deviceinfo>