aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2010-04-13 23:21:38 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2010-04-13 23:21:38 -0700
commit56f3e1c0579cd06196d51ebd1ccad9298c5426b3 (patch)
treecacccdde5f6fb5c9e734977306fb1b73ef33ea03 /Documentation
parent0d0fb0f9c5fddef4a10242fe3337f00f528a3099 (diff)
parent38101475f937c5dc0baf43a9e0c7613dbeb94d5a (diff)
downloadkernel_samsung_aries-56f3e1c0579cd06196d51ebd1ccad9298c5426b3.zip
kernel_samsung_aries-56f3e1c0579cd06196d51ebd1ccad9298c5426b3.tar.gz
kernel_samsung_aries-56f3e1c0579cd06196d51ebd1ccad9298c5426b3.tar.bz2
Merge branch 'for-linus' into next
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/input/multi-touch-protocol.txt23
1 files changed, 17 insertions, 6 deletions
diff --git a/Documentation/input/multi-touch-protocol.txt b/Documentation/input/multi-touch-protocol.txt
index 8490480..c0fc1c7 100644
--- a/Documentation/input/multi-touch-protocol.txt
+++ b/Documentation/input/multi-touch-protocol.txt
@@ -68,6 +68,22 @@ like:
SYN_MT_REPORT
SYN_REPORT
+Here is the sequence after lifting one of the fingers:
+
+ ABS_MT_POSITION_X
+ ABS_MT_POSITION_Y
+ SYN_MT_REPORT
+ SYN_REPORT
+
+And here is the sequence after lifting the remaining finger:
+
+ SYN_MT_REPORT
+ SYN_REPORT
+
+If the driver reports one of BTN_TOUCH or ABS_PRESSURE in addition to the
+ABS_MT events, the last SYN_MT_REPORT event may be omitted. Otherwise, the
+last SYN_REPORT will be dropped by the input core, resulting in no
+zero-finger event reaching userland.
Event Semantics
---------------
@@ -217,11 +233,6 @@ where examples can be found.
difference between the contact position and the approaching tool position
could be used to derive tilt.
[2] The list can of course be extended.
-[3] The multi-touch X driver is currently in the prototyping stage. At the
-time of writing (April 2009), the MT protocol is not yet merged, and the
-prototype implements finger matching, basic mouse support and two-finger
-scrolling. The project aims at improving the quality of current multi-touch
-functionality available in the Synaptics X driver, and in addition
-implement more advanced gestures.
+[3] Multitouch X driver project: http://bitmath.org/code/multitouch/.
[4] See the section on event computation.
[5] See the section on finger tracking.