diff options
| author | Henrik Rydberg <rydberg@euromail.se> | 2008-11-06 16:00:08 +0100 |
|---|---|---|
| committer | Henrik Rydberg <rydberg@euromail.se> | 2008-11-06 16:00:08 +0100 |
| commit | 3734c2c5dc65f41aa727d9d69201d604eab6e77d (patch) | |
| tree | ea9fa82ccc2afef9183f01f77084a69d85756542 /src/multitouch.c | |
| parent | 826439bce844fdbc8d7e47c0964cb15fd8a8fe93 (diff) | |
event loop works, buffer works, now look at synched event
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'src/multitouch.c')
| -rw-r--r-- | src/multitouch.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/multitouch.c b/src/multitouch.c index 73aaffd..40895c9 100644 --- a/src/multitouch.c +++ b/src/multitouch.c | |||
| @@ -83,7 +83,8 @@ static void read_input(LocalDevicePtr local) | |||
| 83 | xf86Msg(X_INFO, "read_input called\n"); | 83 | xf86Msg(X_INFO, "read_input called\n"); |
| 84 | 84 | ||
| 85 | if (local->fd >= 0) { | 85 | if (local->fd >= 0) { |
| 86 | while (!read_hwdata(&mt->hw, local->fd)) { | 86 | while (read_synchronized_event(mt, local->fd)) { |
| 87 | xf86Msg(X_INFO, "synced event\n"); | ||
| 87 | // do all the good stuff here | 88 | // do all the good stuff here |
| 88 | } | 89 | } |
| 89 | } | 90 | } |
