diff options
| author | Henrik Rydberg <rydberg@euromail.se> | 2010-08-07 19:16:00 +0200 |
|---|---|---|
| committer | Henrik Rydberg <rydberg@euromail.se> | 2010-08-07 19:16:00 +0200 |
| commit | f6e65676026fa9f3f2664100b68ba2c6da376a24 (patch) | |
| tree | d6a08fca5394c1cd75013a05aafd4af7943298cf /src/grail-recognizer.h | |
| parent | ee4a0c6821a1b79c3d18c6ef6d7ed6d37df74755 (diff) | |
Add configurable pointer gesture
In some applications, it is desirable to treat pointer movements
as a gesture. This patch adds a gru configuration parameter which,
then true, makes grail emit pointer gesture events.
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'src/grail-recognizer.h')
| -rw-r--r-- | src/grail-recognizer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/grail-recognizer.h b/src/grail-recognizer.h index 212ac7d..11b44ce 100644 --- a/src/grail-recognizer.h +++ b/src/grail-recognizer.h | |||
| @@ -33,6 +33,7 @@ struct gesture_recognizer { | |||
| 33 | struct combo_model rotate; | 33 | struct combo_model rotate; |
| 34 | struct combo_model combo; | 34 | struct combo_model combo; |
| 35 | struct tapping_model tapping; | 35 | struct tapping_model tapping; |
| 36 | int pointer_gesture; | ||
| 36 | }; | 37 | }; |
| 37 | 38 | ||
| 38 | int gru_init(struct grail *ge); | 39 | int gru_init(struct grail *ge); |
