From 586dd0f17bbd6e2e8b51f3e2fca9269e33f8038a Mon Sep 17 00:00:00 2001 From: Henrik Rydberg Date: Thu, 17 Mar 2011 10:39:59 +0100 Subject: Allow replay of device data through grail This patch adds replay capabilities to grail. If the specified device points to a valid evemu file, the device properties will be extracted from that file instead. Any appended event data will be replayed in realtime when calling grail_pull_mtdev(). In practise, grail_gesture may be executed with a test file. Signed-off-by: Henrik Rydberg --- src/grail-impl.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/grail-impl.h') diff --git a/src/grail-impl.h b/src/grail-impl.h index 2c63b90..7036382 100644 --- a/src/grail-impl.h +++ b/src/grail-impl.h @@ -44,6 +44,7 @@ struct grail_impl { int filter_abs; int ongoing; int gesture; + FILE *fptest; }; #endif -- cgit v1.2.3