path: root/src/plugins/generic/touchscreen/qtouchscreen.h
diff options
authorLaszlo Agocs <>2011-12-17 21:15:50 +0200
committerQt by Nokia <>2011-12-19 17:29:10 +0100
commit2edada763af005367810dda09ca0cdb5adc494b9 (patch)
treea597225b584dc26f9b9f4b6d986fb7dd54b3c885 /src/plugins/generic/touchscreen/qtouchscreen.h
parent87679491cb21088223fcd656e0e49793874e4a9e (diff)
Update the touchscreen plug-in.
Now works with bcm5974: Added manual contact tracking for drivers that do not report a tracking id and fixed abs limit querying to use ABS_MT_* instead of ABS_*. Fixed reported area: The incoming point was the top-left point instead of the center which was incorrect. Added pressure support. Tracking of event type has been removed as handleTouchEvent no longer needs it. Broken debug prints have been removed. Changed udev auto-detection to pick only /dev/input/event*. Fixed multiple released state reports with some drivers. Name and capabilities are now set properly for the QTouchDevice. Change-Id: I8f026c9a14465bfb6d567f4dcf36c5c03f843868 Reviewed-by: Jørgen Lind <>
Diffstat (limited to 'src/plugins/generic/touchscreen/qtouchscreen.h')
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/generic/touchscreen/qtouchscreen.h b/src/plugins/generic/touchscreen/qtouchscreen.h
index 6127cdba32..bcb27d9cdb 100644
--- a/src/plugins/generic/touchscreen/qtouchscreen.h
+++ b/src/plugins/generic/touchscreen/qtouchscreen.h
@@ -58,7 +58,8 @@ class QTouchScreenData;
class QTouchScreenObserver
- virtual void touch_configure(int x_min, int x_max, int y_min, int y_max) = 0;
+ virtual void touch_configure(int x_min, int x_max, int y_min, int y_max,
+ int pressure_min, int pressure_max, const QString &dev_name) = 0;
virtual void touch_point(const QList<QWindowSystemInterface::TouchPoint> &points) = 0;