input: Documentation: corrections for multi-touch-protocol.rst
Correct hyphenation, spelling, and capitalization. Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com> Cc: linux-input@vger.kernel.org Cc: Jonathan Corbet <corbet@lwn.net> Cc: linux-doc@vger.kernel.org Cc: Henrik Rydberg <rydberg@bitmath.org> Link: https://lore.kernel.org/r/20210302223523.20130-6-rdunlap@infradead.org Signed-off-by: Jonathan Corbet <corbet@lwn.net>
This commit is contained in:
parent
ebe14885ab
commit
338b660bff
|
@ -261,7 +261,7 @@ ABS_MT_PRESSURE
|
||||||
signal intensity distribution.
|
signal intensity distribution.
|
||||||
|
|
||||||
If the resolution is zero, the pressure data is in arbitrary units.
|
If the resolution is zero, the pressure data is in arbitrary units.
|
||||||
If the resolution is nonzero, the pressure data is in units/gram. See
|
If the resolution is non-zero, the pressure data is in units/gram. See
|
||||||
:ref:`input-event-codes` for details.
|
:ref:`input-event-codes` for details.
|
||||||
|
|
||||||
ABS_MT_DISTANCE
|
ABS_MT_DISTANCE
|
||||||
|
@ -279,14 +279,14 @@ ABS_MT_ORIENTATION
|
||||||
max should be returned; when aligned with the X axis in the negative
|
max should be returned; when aligned with the X axis in the negative
|
||||||
direction, the range -max should be returned.
|
direction, the range -max should be returned.
|
||||||
|
|
||||||
Touch ellipsis are symmetrical by default. For devices capable of true 360
|
Touch ellipses are symmetrical by default. For devices capable of true 360
|
||||||
degree orientation, the reported orientation must exceed the range max to
|
degree orientation, the reported orientation must exceed the range max to
|
||||||
indicate more than a quarter of a revolution. For an upside-down finger,
|
indicate more than a quarter of a revolution. For an upside-down finger,
|
||||||
range max * 2 should be returned.
|
range max * 2 should be returned.
|
||||||
|
|
||||||
Orientation can be omitted if the touch area is circular, or if the
|
Orientation can be omitted if the touch area is circular, or if the
|
||||||
information is not available in the kernel driver. Partial orientation
|
information is not available in the kernel driver. Partial orientation
|
||||||
support is possible if the device can distinguish between the two axis, but
|
support is possible if the device can distinguish between the two axes, but
|
||||||
not (uniquely) any values in between. In such cases, the range of
|
not (uniquely) any values in between. In such cases, the range of
|
||||||
ABS_MT_ORIENTATION should be [0, 1] [#f4]_.
|
ABS_MT_ORIENTATION should be [0, 1] [#f4]_.
|
||||||
|
|
||||||
|
@ -356,7 +356,7 @@ The range of ABS_MT_ORIENTATION should be set to [0, 1], to indicate that
|
||||||
the device can distinguish between a finger along the Y axis (0) and a
|
the device can distinguish between a finger along the Y axis (0) and a
|
||||||
finger along the X axis (1).
|
finger along the X axis (1).
|
||||||
|
|
||||||
For win8 devices with both T and C coordinates, the position mapping is::
|
For Win8 devices with both T and C coordinates, the position mapping is::
|
||||||
|
|
||||||
ABS_MT_POSITION_X := T_X
|
ABS_MT_POSITION_X := T_X
|
||||||
ABS_MT_POSITION_Y := T_Y
|
ABS_MT_POSITION_Y := T_Y
|
||||||
|
|
Loading…
Reference in New Issue