summaryrefslogtreecommitdiff
path: root/src/gebuf.h
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@bitmath.org>2010-08-03 15:01:50 +0200
committerHenrik Rydberg <rydberg@euromail.se>2010-08-05 22:48:38 +0200
commitd07c43f9f19dc0ee38aaf44947cfc396f437490e (patch)
tree2f9af561594a1de5553ba85b69b50bee421d5507 /src/gebuf.h
parent342a43e7b2ceec1dd200bffa24b052fec33f5bdc (diff)
Introduce zoom, rotate and combo gestures
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>
Diffstat (limited to 'src/gebuf.h')
-rw-r--r--src/gebuf.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gebuf.h b/src/gebuf.h
index 37e4a5c..3f71ab5 100644
--- a/src/gebuf.h
+++ b/src/gebuf.h
@@ -30,7 +30,10 @@
30#define DIM_GESTURE_EVENTS 512 30#define DIM_GESTURE_EVENTS 512
31 31
32struct gesture_event { 32struct gesture_event {
33 int ntouch;
34 int nprop;
33 touch_time_t time; 35 touch_time_t time;
36 struct grail_coord pos;
34 grail_prop_t prop[DIM_GRAIL_PROP]; 37 grail_prop_t prop[DIM_GRAIL_PROP];
35}; 38};
36 39