summaryrefslogtreecommitdiff
path: root/src/grail-event.c
Commit message (Collapse)AuthorAgeFilesLines
* Replace touch logic with utouch frame engineHenrik Rydberg2011-01-021-17/+16
| | | | | | | | | | | The original grail uses an internal touch framework and exports some touch information as extended attributes to gesture events. This was never quite the intention, but rather to expose gestures and touches on a similar footing, such that grail can be input agnostic. This patch starts off by replacing the internal touch framework with the utouch-frame engine. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Prepare for queued event handlingHenrik Rydberg2011-01-021-1/+2
| | | | | | | | | The current grail operates via callbacks. In order to make grail work as a pipe, where input and output can be controlled externally, add the missing event queue for gestures, and align the code to simplify a switch. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Add contact information to the property listHenrik Rydberg2010-08-191-0/+93
| | | | | | | | | | Add the five first contacts to the property list, and unify the handling of all gesture types in this regard. To avoid duplication, move the scaling of properties closer to the gesture recognizer. Move all gesture event handling code to grail-event.c, simplifying the structure somewhat. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Add grail_contact and a method to retrieve the current contactsHenrik Rydberg2010-08-191-0/+51
This patch adds the possibility to extract the current set of contacts from the grail state. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>