Fixed raw coordinate reporting for touch events
The raw coordinates were not reported by the evdevtouch plugin. Change-Id: Ia06129edd771b12cc9f6a97dc678b545d226af70 Reviewed-by: Andy Nichols <andy.nichols@digia.com>
This commit is contained in:
parent
bd01db4a98
commit
c97a1bc538
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user