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 { | |||
| 51 | int position_x, position_y; | 51 | int position_x, position_y; |
| 52 | }; | 52 | }; |
| 53 | 53 | ||
| 54 | /* year-proof millisecond event time */ | ||
| 55 | typedef __u64 mstime_t; | ||
| 56 | |||
| 54 | /** | 57 | /** |
| 55 | * struct HWData - hardware reads | 58 | * struct HWData - hardware reads |
| 56 | * | 59 | * |
| @@ -67,6 +70,7 @@ struct HWData { | |||
| 67 | unsigned mask[DIM_FINGER], mread[DIM_FINGER]; | 70 | unsigned mask[DIM_FINGER], mread[DIM_FINGER]; |
| 68 | unsigned button; | 71 | unsigned button; |
| 69 | int nfinger, nread; | 72 | int nfinger, nread; |
| 73 | mstime_t evtime; | ||
| 70 | }; | 74 | }; |
| 71 | 75 | ||
| 72 | void init_hwdata(struct HWData *hw); | 76 | void init_hwdata(struct HWData *hw); |
