diff options
| author | Henrik Rydberg <rydberg@euromail.se> | 2011-01-02 11:00:52 +0100 |
|---|---|---|
| committer | Henrik Rydberg <rydberg@euromail.se> | 2011-01-02 12:39:07 +0100 |
| commit | c0666a895e7fe8e488332263fd106ced0ed7cab7 (patch) | |
| tree | fca88fbee4aaed6e1eed050a749ce6246a7f1966 /src/grail-recognizer.h | |
| parent | 1e07054fbeab6e90f104c279d3246097dd838a17 (diff) | |
Replace touch logic with utouch frame engine
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>
Diffstat (limited to 'src/grail-recognizer.h')
| -rw-r--r-- | src/grail-recognizer.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/grail-recognizer.h b/src/grail-recognizer.h index 1a9edd1..56e5b8d 100644 --- a/src/grail-recognizer.h +++ b/src/grail-recognizer.h | |||
| @@ -26,7 +26,6 @@ | |||
| 26 | #include "grail-gestures.h" | 26 | #include "grail-gestures.h" |
| 27 | 27 | ||
| 28 | struct gesture_recognizer { | 28 | struct gesture_recognizer { |
| 29 | struct touch_frame frame; | ||
| 30 | struct move_model move; | 29 | struct move_model move; |
| 31 | struct combo_model drag; | 30 | struct combo_model drag; |
| 32 | struct combo_model pinch; | 31 | struct combo_model pinch; |
| @@ -38,7 +37,7 @@ struct gesture_recognizer { | |||
| 38 | }; | 37 | }; |
| 39 | 38 | ||
| 40 | int gru_init(struct grail *ge); | 39 | int gru_init(struct grail *ge); |
| 41 | void gru_recognize(struct grail *ge, const struct touch_frame *frame); | 40 | void gru_recognize(struct grail *ge, const struct utouch_frame *frame); |
| 42 | void gru_destroy(struct grail *ge); | 41 | void gru_destroy(struct grail *ge); |
| 43 | 42 | ||
| 44 | #endif | 43 | #endif |
