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