diff options
Diffstat (limited to 'include/mtouch.h')
-rw-r--r-- | include/mtouch.h | 2 |
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); int parse_event(struct MTouch *mt, const struct input_event *ev); +int mt_is_idle(struct MTouch *mt, int fd); + static inline void mt_delay_movement(struct MTouch *mt, int t) { mem_hold_movement(&mt->mem, mt->state.evtime + t); |