summaryrefslogtreecommitdiff
path: root/include/grail-touch.h
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@euromail.se>2010-09-09 10:17:09 +0200
committerHenrik Rydberg <rydberg@euromail.se>2010-09-09 10:17:09 +0200
commit9bdd12a8046f33a6d190bb33371eb30d3ee59062 (patch)
treee23f8c501a3fd056836c0474666ab665deb25ccd /include/grail-touch.h
parent293c6123865c2ec6106949226b790ac54f0eaef6 (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/grail-touch.h')
-rw-r--r--include/grail-touch.h1
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
75int touch_caps_is_supported(struct touch_dev *dev, int fd);
75void touch_caps_init(struct touch_dev *dev); 76void touch_caps_init(struct touch_dev *dev);
76float touch_angle(const struct touch_dev *dev, int orientation); 77float touch_angle(const struct touch_dev *dev, int orientation);
77float touch_pressure(const struct touch_dev *dev, int pressure); 78float touch_pressure(const struct touch_dev *dev, int pressure);