summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@euromail.se>2011-03-14 17:57:40 +0100
committerHenrik Rydberg <rydberg@euromail.se>2011-03-14 18:04:54 +0100
commit9994438da1c74a27be7677d8a22b8158309e9c37 (patch)
tree19889736387c43d1ffe46823cb6f2212c6c52a60 /include
parentce26d71cf779fc6d4d6c5bc7af856d5256e68d8a (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);
76 76
77int evemu_write_event(FILE *fp, const struct input_event *ev); 77int evemu_write_event(FILE *fp, const struct input_event *ev);
78int evemu_read_event(FILE *fp, struct input_event *ev); 78int evemu_read_event(FILE *fp, struct input_event *ev);
79int evemu_read_event_realtime(FILE *fp, struct input_event *ev,
80 struct timeval *evtime);
79 81
80int evemu_record(FILE *fp, int fd, int ms); 82int evemu_record(FILE *fp, int fd, int ms);
81int evemu_play(FILE *fp, int fd); 83int evemu_play(FILE *fp, int fd);