summaryrefslogtreecommitdiff
path: root/src/mtstate.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mtstate.h')
-rw-r--r--src/mtstate.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/mtstate.h b/src/mtstate.h
index f8790dd..fa297cd 100644
--- a/src/mtstate.h
+++ b/src/mtstate.h
@@ -24,8 +24,13 @@
24 24
25#include "hwstate.h" 25#include "hwstate.h"
26 26
27struct MTFinger {
28 struct FingerData hw;
29 int id;
30};
31
27struct MTState { 32struct MTState {
28 struct FingerState finger[DIM_FINGER]; 33 struct MTFinger finger[DIM_FINGER];
29 int nfinger; 34 int nfinger;
30 unsigned button; 35 unsigned button;
31 mstime_t evtime; 36 mstime_t evtime;
@@ -37,7 +42,7 @@ void extract_mtstate(struct MTState *s,
37 const struct Capabilities *caps); 42 const struct Capabilities *caps);
38void output_mtstate(const struct MTState *s); 43void output_mtstate(const struct MTState *s);
39 44
40const struct FingerState *find_finger(const struct MTState *s, int id); 45const struct MTFinger *find_finger(const struct MTState *s, int id);
41 46
42#endif 47#endif
43 48