diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2010-12-16 12:17:48 -0500 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2010-12-16 12:17:48 -0500 |
commit | 67b989a0c17e34a7c2c095e58a2f3d1b4408e3cb (patch) | |
tree | c076d2f0b5d4ae8726a50206042d3e3a41620fe4 /Documentation | |
parent | 56a8bd6dcf81693e61a712097216904f3a4ab536 (diff) | |
parent | 69479f8da68f1930b2078b2ebf6533fb00339918 (diff) |
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/rydberg/input-mt into next
Conflicts:
drivers/input/Makefile
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/DocBook/device-drivers.tmpl | 4 | ||||
-rw-r--r-- | Documentation/input/multi-touch-protocol.txt | 9 |
2 files changed, 12 insertions, 1 deletions
diff --git a/Documentation/DocBook/device-drivers.tmpl b/Documentation/DocBook/device-drivers.tmpl index 22edcbb9ddaf..35447e081736 100644 --- a/Documentation/DocBook/device-drivers.tmpl +++ b/Documentation/DocBook/device-drivers.tmpl | |||
@@ -304,6 +304,10 @@ X!Idrivers/video/console/fonts.c | |||
304 | !Edrivers/input/ff-core.c | 304 | !Edrivers/input/ff-core.c |
305 | !Edrivers/input/ff-memless.c | 305 | !Edrivers/input/ff-memless.c |
306 | </sect1> | 306 | </sect1> |
307 | <sect1><title>Multitouch Library</title> | ||
308 | !Iinclude/linux/input/mt.h | ||
309 | !Edrivers/input/input-mt.c | ||
310 | </sect1> | ||
307 | <sect1><title>Polled input devices</title> | 311 | <sect1><title>Polled input devices</title> |
308 | !Iinclude/linux/input-polldev.h | 312 | !Iinclude/linux/input-polldev.h |
309 | !Edrivers/input/input-polldev.c | 313 | !Edrivers/input/input-polldev.c |
diff --git a/Documentation/input/multi-touch-protocol.txt b/Documentation/input/multi-touch-protocol.txt index bdcba154b83e..07215fa0c588 100644 --- a/Documentation/input/multi-touch-protocol.txt +++ b/Documentation/input/multi-touch-protocol.txt | |||
@@ -161,7 +161,8 @@ against the glass. The inner region will increase, and in general, the | |||
161 | ratio ABS_MT_TOUCH_MAJOR / ABS_MT_WIDTH_MAJOR, which is always smaller than | 161 | ratio ABS_MT_TOUCH_MAJOR / ABS_MT_WIDTH_MAJOR, which is always smaller than |
162 | unity, is related to the contact pressure. For pressure-based devices, | 162 | unity, is related to the contact pressure. For pressure-based devices, |
163 | ABS_MT_PRESSURE may be used to provide the pressure on the contact area | 163 | ABS_MT_PRESSURE may be used to provide the pressure on the contact area |
164 | instead. | 164 | instead. Devices capable of contact hovering can use ABS_MT_DISTANCE to |
165 | indicate the distance between the contact and the surface. | ||
165 | 166 | ||
166 | In addition to the MAJOR parameters, the oval shape of the contact can be | 167 | In addition to the MAJOR parameters, the oval shape of the contact can be |
167 | described by adding the MINOR parameters, such that MAJOR and MINOR are the | 168 | described by adding the MINOR parameters, such that MAJOR and MINOR are the |
@@ -213,6 +214,12 @@ The pressure, in arbitrary units, on the contact area. May be used instead | |||
213 | of TOUCH and WIDTH for pressure-based devices or any device with a spatial | 214 | of TOUCH and WIDTH for pressure-based devices or any device with a spatial |
214 | signal intensity distribution. | 215 | signal intensity distribution. |
215 | 216 | ||
217 | ABS_MT_DISTANCE | ||
218 | |||
219 | The distance, in surface units, between the contact and the surface. Zero | ||
220 | distance means the contact is touching the surface. A positive number means | ||
221 | the contact is hovering above the surface. | ||
222 | |||
216 | ABS_MT_ORIENTATION | 223 | ABS_MT_ORIENTATION |
217 | 224 | ||
218 | The orientation of the ellipse. The value should describe a signed quarter | 225 | The orientation of the ellipse. The value should describe a signed quarter |