summaryrefslogtreecommitdiff
path: root/docs/event-semantics.txt
diff options
context:
space:
mode:
Diffstat (limited to 'docs/event-semantics.txt')
-rw-r--r--docs/event-semantics.txt31
1 files changed, 31 insertions, 0 deletions
diff --git a/docs/event-semantics.txt b/docs/event-semantics.txt
new file mode 100644
index 0000000..87afe4e
--- /dev/null
+++ b/docs/event-semantics.txt
@@ -0,0 +1,31 @@
1FRAME
2
3The touch frame, consisting of a set of simultaneous contacts.
4
5CONTACT
6
7The current MT contact configuration. Changes whenever an id changes.
8
9TOUCH
10
11The current touch configuration. Changes whenever the number of contacts
12changes. A touch frame is well-defined a time T after the last
13configuration change. This allows for simultaneous touches being
14handled. It also allows for a very quick change of one finger to
15another. Such an action changes the CONTACT state, but it does not change
16the TOUCH state.
17
18DRAG/PINCH/ROTATE
19
20A transformation based on the touch frame.
21
22GESTURES
23
24Two creation points may be grouped if they are close in space-time, and
25they are always close within the same controlling entity. There can be only
26one controlling entity per point, and that decision is made upon
27creation. The window manager is a controlling entity. Ambiguities can occur
28between close points, and are resolved either by state rule or by
29priority. Relaxing the time closeness criteria has no effect within a
30controlling entity, but creates a larger set of ambiguous and undesired
31groupings, which is considered inferior.