From c97a1bc538dea1e38dfcba6c8191ed4b35dbe133 Mon Sep 17 00:00:00 2001 From: Mikko Harju Date: Mon, 3 Jun 2013 13:13:49 +0300 Subject: [PATCH] Fixed raw coordinate reporting for touch events The raw coordinates were not reported by the evdevtouch plugin. Change-Id: Ia06129edd771b12cc9f6a97dc678b545d226af70 Reviewed-by: Andy Nichols --- src/platformsupport/input/evdevtouch/qevdevtouch.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/platformsupport/input/evdevtouch/qevdevtouch.cpp b/src/platformsupport/input/evdevtouch/qevdevtouch.cpp index 2c93da147e..ddd059c5a0 100644 --- a/src/platformsupport/input/evdevtouch/qevdevtouch.cpp +++ b/src/platformsupport/input/evdevtouch/qevdevtouch.cpp @@ -421,6 +421,8 @@ void QEvdevTouchScreenData::processInputEvent(input_event *data) tp.normalPosition = QPointF((contact.x - hw_range_x_min) / qreal(hw_range_x_max - hw_range_x_min), (contact.y - hw_range_y_min) / qreal(hw_range_y_max - hw_range_y_min)); + tp.rawPositions.append(QPointF(contact.x, contact.y)); + m_touchPoints.append(tp); if (contact.state == Qt::TouchPointReleased)