summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@bitmath.org>2011-03-14 18:07:46 +0100
committerHenrik Rydberg <rydberg@bitmath.org>2011-03-14 18:07:46 +0100
commitb3ebbfd9a0dc04ca20325f4cf2621f8d952147fe (patch)
tree19889736387c43d1ffe46823cb6f2212c6c52a60 /include
parent0476c301d892dbb945e2b9a30afd1bd0e17ecc1b (diff)
Move realtime read into its own function
The realtime read functionality is needed in many places, in particular in the test frameworks of utouch-frame and utouch-grail. Move the realtime code from evemu_play into its own function, and make it part of the API. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'include')
-rw-r--r--include/evemu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/evemu.h b/include/evemu.h
index f414fdf..31107bc 100644
--- a/include/evemu.h
+++ b/include/evemu.h
@@ -76,6 +76,8 @@ int evemu_read(struct evemu_device *dev, FILE *fp);
int evemu_write_event(FILE *fp, const struct input_event *ev);
int evemu_read_event(FILE *fp, struct input_event *ev);
+int evemu_read_event_realtime(FILE *fp, struct input_event *ev,
+ struct timeval *evtime);
int evemu_record(FILE *fp, int fd, int ms);
int evemu_play(FILE *fp, int fd);