summaryrefslogtreecommitdiff
path: root/src/grail-api.c
Commit message (Collapse)AuthorAgeFilesLines
* make event units public in the apiHenrik Rydberg2010-08-051-2/+13
| | | | | | | Add grail_get_units() to the api, so so that applications can extract the min/max coordinates used in the gesture events. Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>
* Fix hanging event bugHenrik Rydberg2010-08-051-3/+2
| | | | | | | | | The no-wait approach, where events are read and process asynchronously, resulted in spurious events getting stuck in the input queue. This patch reverts the behavior to synchronous buffer read and processing, resolving the problem for now. Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>
* Introduce zoom, rotate and combo gesturesHenrik Rydberg2010-08-051-11/+11
| | | | | | | Introduce grail_mask bit functions, and add new gestures as separate functions, referring to the same move model. Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>
* Introduce threadingHenrik Rydberg2010-08-051-4/+71
| | | | | | | | In order to enable deferred events from grail, but the event processing in a separate thread, and have the calling thread return as quickly as possible. Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>
* Split the code into recognizer and inserterHenrik Rydberg2010-08-051-90/+43
| | | | | | | Refactor code to make more room for gesture recognition. Also simplify public headers. Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>
* Test implementation of grail apiHenrik Rydberg2010-08-051-0/+151
This patch introduces the grail API, and a program to test it (evlink). Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>