From 9bdd12a8046f33a6d190bb33371eb30d3ee59062 Mon Sep 17 00:00:00 2001 From: Henrik Rydberg Date: Thu, 9 Sep 2010 10:17:09 +0200 Subject: 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 --- include/grail-touch.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/grail-touch.h') 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 { int state; }; +int touch_caps_is_supported(struct touch_dev *dev, int fd); void touch_caps_init(struct touch_dev *dev); float touch_angle(const struct touch_dev *dev, int orientation); float touch_pressure(const struct touch_dev *dev, int pressure); -- cgit v1.2.3