diff options
| author | Henrik Rydberg <rydberg@euromail.se> | 2010-03-21 14:54:15 +0100 |
|---|---|---|
| committer | Henrik Rydberg <rydberg@euromail.se> | 2010-03-21 14:59:09 +0100 |
| commit | 0587ab0488c46b61d175793f2deedc3a7aa9b600 (patch) | |
| tree | 6077295316cc1420a4cd5010a3772c460c759b75 /src/state.h | |
| parent | c7ed4cec501f10479a98e380d760670312101136 (diff) | |
Add millisecond event times
Expand the (x, y) notion of the current hardware events to
the more useful (x, y, t) notion. This patch was inspired
by a gesture patch from Arturo Castro <arturo@openframeworks.cc>.
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'src/state.h')
| -rw-r--r-- | src/state.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/state.h b/src/state.h index 340803a..2c2d2b7 100644 --- a/src/state.h +++ b/src/state.h | |||
| @@ -35,6 +35,7 @@ struct State { | |||
| 35 | struct FingerState finger[DIM_FINGER]; | 35 | struct FingerState finger[DIM_FINGER]; |
| 36 | unsigned button; | 36 | unsigned button; |
| 37 | int nfinger; | 37 | int nfinger; |
| 38 | mstime_t evtime; | ||
| 38 | int lastid; | 39 | int lastid; |
| 39 | }; | 40 | }; |
| 40 | 41 | ||
