Due to not having touch-screen hardware any more, and working on my degree, this project is dead, looking to be revived by anyone who wants to continue where I left off.
Represents an area or region on the screen within which an action must take place.
For movement actions, it represents where the movement must end.
Represents one action, one part of a gesture. The possible actions are
- Touch
- Move
- Rotate
- Pinch
- Delay
Each action can have
Decides how much/how many/etc the action must be performed. E.g. the number of fingers for a touch, or the length of a movement.
Where the action must take place. A movement is considered complete when it reaches the target.
Maximum duration within which an action must take place.
How much is minimum movement, before it is regarded as actual movement. E.g. a tap and hold may move X pixels without being regarded as a swipe, or how much movement in the “wrong” direction is allowed.
A gesture is a series of actions, each must be completed before the next begins.
The libtouch_engine
is responsible for controlling the memory allocation and freeing of other structures, as well as keeping them nice and tidy to be able to check them all.
The inner state is updated through the functions
When finished with creating all gestures, one or more progress trackers can be created. Each tracker independently tracks input. One for each seat, for instance.
libtouch_progress_register_move
libtouch_progress_register_touch
See examples.c