summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Rename and install test binariesHenrik Rydberg2010-08-052-36/+32
| | | | | | Install the test programs as grail-touch and grail-gesture. Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>
* make event units public in the apiHenrik Rydberg2010-08-055-10/+22
| | | | | | | 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>
* tapping: Cancel multi-finger taps when movingHenrik Rydberg2010-08-051-0/+2
| | | | | | | Cancel multi-finger taps when multi move is active, to avoid accidental tapping during quick gestures. Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>
* Add four-finger and five-finger gesturesHenrik Rydberg2010-08-055-8/+43
| | | | | | | Add four-finger and five-finger gestures, and move all gesture types out to a separate file. Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>
* tapping: Cancel early in case of one-finger movementHenrik Rydberg2010-08-052-6/+13
| | | | Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>
* Cleanup tapping and gesture codeHenrik Rydberg2010-08-059-90/+71
| | | | | | Improved tapping quality with this patch. Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>
* Introduce tappingHenrik Rydberg2010-08-0512-301/+403
| | | | | | | Simplify some common parts of the recognizer code and add tapping to the gesture suite. 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-0518-318/+935
| | | | | | | 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-055-10/+215
| | | | | | | | 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-0510-311/+498
| | | | | | | 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-056-9/+165
| | | | | | This patch introduces the grail API, and a program to test it (evlink). Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>
* Touch API changesHenrik Rydberg2010-08-051-8/+23
| | | | | | | | Add touch time to the touch frame (Thanks Rafi) Add touch change counters to the touch frame Add event bypass callback Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>
* Merge in fix of dev package. This patch moves header files around, and does ↵Henrik Rydberg2010-08-056-7/+70
| | | | | | not contain any logic changes. Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>
* Configure fixesStephen M. Webb2010-08-051-2/+4
| | | | | | | Adds the mtdev package dependency and fix some smaller issues. Signed-off-by: Stephen M. Webb <stephen.webb@bregmasoft.ca> Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>
* Gesture Recognition And Instantiation Library (grail)Henrik Rydberg2010-07-135-0/+540
The aim of this first commit is to get down to hard testing of concepts, and the library currently has two test programs, touch and grail, which can be run on commandline. Touch tests the touch interface, and grail tests the gesture interface. Expect thinking errors and some glitches. Other than that, the code runs fine. Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>