summaryrefslogtreecommitdiff
path: root/src/grail-event.c
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright informationHEADmasterHenrik Rydberg2011-04-281-2/+1
| | | | | | | | The license information was always right, but the copyright information for this particular project was never quite right. Corrected with this patch. No functional changes. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Expose utouch-frame through grail APIHenrik Rydberg2011-04-281-25/+0
| | | | | | | | Start a gentle API change by exposing utouch-frame through grail, and deprecating the grail_contact struct. Old programs compile and run fine. To only use the new api, compile with -DGRAIL_NO_LEGACY_API. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Use visibility macros instead of symbol mapJussi Pakkanen2011-04-281-2/+2
| | | | | Signed-off-by: Jussi Pakkanen <jussi.pakkanen@canonical.com> Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Convert to utouch-frame mappingHenrik Rydberg2011-04-041-16/+16
| | | | | | | | Remove the grail-internal mapping code and rely directly on utouch-frame instead. Passes the unit test designed for this change. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* 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>