diff options
Diffstat (limited to 'test/grail.c')
| -rw-r--r-- | test/grail.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/test/grail.c b/test/grail.c index 82de65f..e22ffd8 100644 --- a/test/grail.c +++ b/test/grail.c | |||
| @@ -22,7 +22,7 @@ | |||
| 22 | * | 22 | * |
| 23 | ****************************************************************************/ | 23 | ****************************************************************************/ |
| 24 | 24 | ||
| 25 | #include <grail.h> | 25 | #include <grail-gesture.h> |
| 26 | #include <string.h> | 26 | #include <string.h> |
| 27 | #include <stdio.h> | 27 | #include <stdio.h> |
| 28 | #include <unistd.h> | 28 | #include <unistd.h> |
| @@ -133,7 +133,8 @@ static void tp_event(struct touch_engine *engine, | |||
| 133 | { | 133 | { |
| 134 | } | 134 | } |
| 135 | 135 | ||
| 136 | static void tp_sync(struct touch_engine *engine) | 136 | static void tp_sync(struct touch_engine *engine, |
| 137 | const struct input_event *syn) | ||
| 137 | { | 138 | { |
| 138 | struct gesture_handler *gh = engine->priv; | 139 | struct gesture_handler *gh = engine->priv; |
| 139 | struct touch_frame *frame = &engine->frame; | 140 | struct touch_frame *frame = &engine->frame; |
| @@ -158,7 +159,7 @@ int main(int argc, char *argv[]) | |||
| 158 | struct touch_dev dev; | 159 | struct touch_dev dev; |
| 159 | int fd; | 160 | int fd; |
| 160 | if (argc < 2) { | 161 | if (argc < 2) { |
| 161 | fprintf(stderr, "Usage: mtdev <device>\n"); | 162 | fprintf(stderr, "Usage: %s <device>\n", argv[0]); |
| 162 | return -1; | 163 | return -1; |
| 163 | } | 164 | } |
| 164 | fd = open(argv[1], O_RDONLY | O_NONBLOCK); | 165 | fd = open(argv[1], O_RDONLY | O_NONBLOCK); |
