diff options
Diffstat (limited to 'src/hwdata.h')
-rw-r--r-- | src/hwdata.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/hwdata.h b/src/hwdata.h index aa589e0..c00fb39 100644 --- a/src/hwdata.h +++ b/src/hwdata.h @@ -51,6 +51,9 @@ struct FingerData { int position_x, position_y; }; +/* year-proof millisecond event time */ +typedef __u64 mstime_t; + /** * struct HWData - hardware reads * @@ -67,6 +70,7 @@ struct HWData { unsigned mask[DIM_FINGER], mread[DIM_FINGER]; unsigned button; int nfinger, nread; + mstime_t evtime; }; void init_hwdata(struct HWData *hw); |