summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/hwstate.h4
-rw-r--r--include/mtouch.h3
2 files changed, 4 insertions, 3 deletions
diff --git a/include/hwstate.h b/include/hwstate.h
index 4243292..efd291f 100644
--- a/include/hwstate.h
+++ b/include/hwstate.h
@@ -42,8 +42,8 @@ struct HWState {
42 42
43void init_hwstate(struct HWState *s, 43void init_hwstate(struct HWState *s,
44 const struct Capabilities *caps); 44 const struct Capabilities *caps);
45int modify_hwstate(struct HWState *s, struct MTDev *dev, 45int hwstate_read(struct HWState *s, const struct Capabilities *caps,
46 const struct Capabilities *caps); 46 const struct input_event *ev);
47void output_hwstate(const struct HWState *s); 47void output_hwstate(const struct HWState *s);
48 48
49static inline int finger_dist2(const struct FingerState *a, 49static inline int finger_dist2(const struct FingerState *a,
diff --git a/include/mtouch.h b/include/mtouch.h
index c73eb29..482d010 100644
--- a/include/mtouch.h
+++ b/include/mtouch.h
@@ -36,11 +36,12 @@ struct MTouch {
36 36
37int configure_mtouch(struct MTouch *mt, int fd); 37int configure_mtouch(struct MTouch *mt, int fd);
38int open_mtouch(struct MTouch *mt, int fd); 38int open_mtouch(struct MTouch *mt, int fd);
39int get_mtouch(struct MTouch *mt, int fd, struct input_event* ev, int ev_max);
39int close_mtouch(struct MTouch *mt, int fd); 40int close_mtouch(struct MTouch *mt, int fd);
40 41
41int parse_event(struct MTouch *mt, const struct input_event *ev); 42int parse_event(struct MTouch *mt, const struct input_event *ev);
42 43
43int mt_is_idle(struct MTouch *mt, int fd); 44int has_delayed_gestures(struct MTouch *mt, int fd);
44 45
45static inline void mt_delay_movement(struct MTouch *mt, int t) 46static inline void mt_delay_movement(struct MTouch *mt, int t)
46{ 47{