qt5base-lts/tests/auto/gui/kernel/qmouseevent
Shawn Rutledge 1fdbbb49d9 Calculate velocity in QMutEventPoint::setTimestamp() with Kalman filter
This functionality was only in Qt Quick in Qt 5.  Now we move it up to QtGui
so that every QEventPoint will have a valid velocity() before being delivered
anywhere.

[ChangeLog][QtGui][QPointerEvent] Every QEventPoint should now carry a valid
velocity(): if the operating system doesn't provide it, Qt will calculate it,
using a simple Kalman filter to provide a weighted average over time.

Fixes: QTBUG-33891
Change-Id: I40352f717f0ad6edd87cf71ef55e955a591eeea1
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2020-09-16 14:47:36 +02:00
..
.gitignore Moved gui autotests into new directory structure 2011-09-01 10:59:49 +02:00
CMakeLists.txt Track grab state in QPointingDevicePrivate::activePoints 2020-09-16 11:33:03 +02:00
qmouseevent.pro Track grab state in QPointingDevicePrivate::activePoints 2020-09-16 11:33:03 +02:00
tst_qmouseevent.cpp Calculate velocity in QMutEventPoint::setTimestamp() with Kalman filter 2020-09-16 14:47:36 +02:00