Multitouch advanced settings

Getting Gesture Info

What is gesture?

The gesture in touch and multi-touch environment is the finger movement recognition.

For example if you move a single finger in one direction it’s called a panning (or pan). It can be a pan left, up, right, down.

If the trace gesture option activated, gestures ID are displayed in the trace panel like:

General Idea

In Usine every panel can receive gesture information from the gesture outlet.

A gesture information is an Array Modules which contains:

  • A number, the gesture ID
  • Several other value like the starting point of the gesture, the movement speed, etc stored in data1, …, data5.
ID Description data1 data2 data3 data4 data5
0 unknown gesture down X down Y up X up Y speed
1 pan left down X down Y up X up Y speed
2 pan right down X down Y up X up Y speed
3 pan up down X down Y up X up Y speed
4 pan down down X down Y up X up Y speed
5 pan left bi points down X down Y up X up Y speed
6 pan right bi points down X down Y up X up Y speed
7 pan up bi points down X down Y up X up Y speed
8 pan down bi points down X down Y up X up Y speed
100 short touch (or click) single : when the user has pressed the screen or the left mouse button during more than 200 ms X Y
101 long touch (or click) single : when the user has pressed the screen or the left mouse button during more than 1000 ms X Y
102 short bi-touch : when the user has pressed the screen with 2 fingers during more than 200 ms first finger X first finger Y
103 long bi-touch : when the user has pressed the screen with 2 fingers during more than 1000 ms first finger X first finger Y