[PATCH inputproto 1/3] specs: move touch mode explanations to where it belongs
Peter Hutterer
peter.hutterer at who-t.net
Wed Jan 25 22:28:54 PST 2012
Rather than have two different explanations to the touch modes, remove it
from the "Changes in version 2.2" section and merge the content into the
text.
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
specs/XI2proto.txt | 21 +++++++--------------
1 files changed, 7 insertions(+), 14 deletions(-)
diff --git a/specs/XI2proto.txt b/specs/XI2proto.txt
index ca315c1..180ca3d 100644
--- a/specs/XI2proto.txt
+++ b/specs/XI2proto.txt
@@ -74,18 +74,6 @@ The additions in XI 2.2 aim to:
- be backwards-compatible to pre-XI 2.2 clients through emulation of XI 2.x/XI 1.x and core
pointer events.
-XI 2.2 caters for two modes of touch input devices:
-
-- 'Direct' multi-touch input devices such as touchscreens. These devices
- provide independent touchpoints that can occur anywhere on the screen;
- "direct" here refers to the user manipulating objects at their screen
- location, e.g. touching an object and physically moving it.
-- 'Dependent' touch input devices such as multi-touch trackpads and mice with
- additional touch surfaces. These devices provide independent touchpoints that
- often need to be interpreted relative to the current position of the cursor
- on that same device. Such interactions are usually the result of a gesture
- performed on the device, rather than direct manipulation.
-
Touch events are only available to clients supporting version 2.2 or later of
the X Input Extension. Clients must use the XIQueryVersion request to announce
support for this version. Touch devices may generate emulated pointer events
@@ -420,13 +408,18 @@ following device modes are defined for this protocol:
'DirectTouch':
These devices map their input region to a subset of the screen region. Touch
- events are delivered to window at the location of the touch. An example
+ events are delivered to window at the location of the touch. "direct"
+ here refers to the user manipulating objects at their screen location,
+ e.g. touching an object and physically moving it. An example
of a DirectTouch device is a touchscreen.
'DependentTouch':
These devices do not have a direct correlation between a touch location and
a position on the screen. Touch events are delivered according to the
- location of the device's cursor. An Example of a DependentTouch device is a
+ location of the device's cursor and that often need to be interpreted
+ relative to the current position of that cursor. Such interactions are
+ usually the result of a gesture performed on the device, rather than
+ direct manipulation. An example of a DependentTouch device is a
trackpad.
A device is identified as only one of the device modes above at any time, and
--
1.7.7.5
More information about the xorg-devel
mailing list