summaryrefslogtreecommitdiff
path: root/include/mtouch.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/mtouch.h')
-rw-r--r--include/mtouch.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mtouch.h b/include/mtouch.h
index 2b76652..c73eb29 100644
--- a/include/mtouch.h
+++ b/include/mtouch.h
@@ -40,6 +40,8 @@ int close_mtouch(struct MTouch *mt, int fd);
40 40
41int parse_event(struct MTouch *mt, const struct input_event *ev); 41int parse_event(struct MTouch *mt, const struct input_event *ev);
42 42
43int mt_is_idle(struct MTouch *mt, int fd);
44
43static inline void mt_delay_movement(struct MTouch *mt, int t) 45static inline void mt_delay_movement(struct MTouch *mt, int t)
44{ 46{
45 mem_hold_movement(&mt->mem, mt->state.evtime + t); 47 mem_hold_movement(&mt->mem, mt->state.evtime + t);