diff options
| author | Henrik Rydberg <rydberg@euromail.se> | 2010-09-09 10:17:09 +0200 |
|---|---|---|
| committer | Henrik Rydberg <rydberg@euromail.se> | 2010-09-09 10:17:09 +0200 |
| commit | 9bdd12a8046f33a6d190bb33371eb30d3ee59062 (patch) | |
| tree | e23f8c501a3fd056836c0474666ab665deb25ccd /include | |
| parent | 293c6123865c2ec6106949226b790ac54f0eaef6 (diff) | |
Support legacy devices
Simulate MT touch events for legacy devices that support the
DOUBLETAP, TRIPLETAP and QUADTAP events. This allows multi-finger
tap and drag gestures to be emitted, providing a basic level of
MT functionality for legacy devices.
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'include')
| -rw-r--r-- | include/grail-touch.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/grail-touch.h b/include/grail-touch.h index acfc779..9c63c80 100644 --- a/include/grail-touch.h +++ b/include/grail-touch.h | |||
| @@ -72,6 +72,7 @@ struct touch_dev { | |||
| 72 | int state; | 72 | int state; |
| 73 | }; | 73 | }; |
| 74 | 74 | ||
| 75 | int touch_caps_is_supported(struct touch_dev *dev, int fd); | ||
| 75 | void touch_caps_init(struct touch_dev *dev); | 76 | void touch_caps_init(struct touch_dev *dev); |
| 76 | float touch_angle(const struct touch_dev *dev, int orientation); | 77 | float touch_angle(const struct touch_dev *dev, int orientation); |
| 77 | float touch_pressure(const struct touch_dev *dev, int pressure); | 78 | float touch_pressure(const struct touch_dev *dev, int pressure); |
