summaryrefslogtreecommitdiff
path: root/src/gestures.h
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@alnilam.(none)>2010-02-01 22:03:33 +0100
committerHenrik Rydberg <rydberg@alnilam.(none)>2010-02-01 22:03:33 +0100
commitf0b1dbdc00bda57c62199cbdc44acbadbb1121b0 (patch)
tree5234055bf794c28662b139c22e153f7a720a37bc /src/gestures.h
parent30869603dc5d36ad2d82cff82900c7e05a4b35c1 (diff)
janitor: stick to kernel-style formattingalpha-1
With this commit, the whole code base complies with the kernel format style, and patches can be checked against the kernel-provided ./scripts/checkpatch.pl
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