summaryrefslogtreecommitdiff
path: root/src/gestures.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gestures.h')
-rw-r--r--src/gestures.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/gestures.h b/src/gestures.h
index 0e2a49e..0428195 100644
--- a/src/gestures.h
+++ b/src/gestures.h
@@ -24,25 +24,16 @@
24 24
25#include "mtouch.h" 25#include "mtouch.h"
26 26
27////////////////////////////////////////////////////////
28
29#define GS_BUTTON 0 27#define GS_BUTTON 0
30#define GS_MOVE 1 28#define GS_MOVE 1
31#define GS_VSCROLL 2 29#define GS_VSCROLL 2
32#define GS_HSCROLL 3 30#define GS_HSCROLL 3
33 31
34////////////////////////////////////////////////////////
35
36struct Gestures { 32struct Gestures {
37 unsigned type; 33 unsigned type, btmask, btdata;
38 int dx, dy; 34 int dx, dy;
39 button_t btmask, btdata;
40}; 35};
41 36
42////////////////////////////////////////////////////////
43
44void extract_gestures(struct Gestures *gs, struct MTouch* mt); 37void extract_gestures(struct Gestures *gs, struct MTouch* mt);
45 38
46////////////////////////////////////////////////////////
47
48#endif 39#endif