diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/utouch/frame.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/utouch/frame.h b/include/utouch/frame.h index 03a44aa..60195ef 100644 --- a/include/utouch/frame.h +++ b/include/utouch/frame.h | |||
| @@ -115,6 +115,8 @@ struct utouch_surface { | |||
| 115 | * @orientation: direction of ellipse (left: -Pi/2, up: 0, right: Pi/2) | 115 | * @orientation: direction of ellipse (left: -Pi/2, up: 0, right: Pi/2) |
| 116 | * @pressure: pressure of contact (pressure units) | 116 | * @pressure: pressure of contact (pressure units) |
| 117 | * @distance: distance of contact (surface units) | 117 | * @distance: distance of contact (surface units) |
| 118 | * @vx: horizontal velocity coordinate (units / millisecond) | ||
| 119 | * @vy: vertical velocity coordinate (units / millisecond) | ||
| 118 | * | 120 | * |
| 119 | * Surface contact details. Later versions of this struct may grow in | 121 | * Surface contact details. Later versions of this struct may grow in |
| 120 | * size, but will remain binary compatible with older versions. | 122 | * size, but will remain binary compatible with older versions. |
| @@ -138,6 +140,8 @@ struct utouch_contact { | |||
| 138 | float orientation; | 140 | float orientation; |
| 139 | float pressure; | 141 | float pressure; |
| 140 | float distance; | 142 | float distance; |
| 143 | float vx; | ||
| 144 | float vy; | ||
| 141 | }; | 145 | }; |
| 142 | 146 | ||
| 143 | /* time in milliseconds */ | 147 | /* time in milliseconds */ |
