summaryrefslogtreecommitdiffstats
path: root/qmake/generators/projectgenerator.cpp
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar@sletta.org>2016-10-27 13:29:13 +0200
committerGunnar Sletta <gunnar@sletta.org>2016-12-13 13:59:46 +0000
commite63f861e52b80aa3e6dbeb3c50649f666bc025b1 (patch)
treef6ca8e00fb67e89b42591179edae56720b45fca4 /qmake/generators/projectgenerator.cpp
parent6755ec891a1740110c48895afd53d39e8370704a (diff)
Add support for filtering in the qevdevtouch plugin
This patch adds a Kalman filter to the evdev touch plugin which samples velocity and position in x and y direction and uses this to emit touch points in sync with the application's repaint rate. The filter also allows for basic prediction based on current position and velocity estimates. Filtering is opt-in, and can be enabled by passing for instance > app -plugin evdevtouch:/dev/touchscreen:filtered:prediction=16 The logic relies on a stable QWindow::requestUpdate() and will work best in combination with QtQuick and blocking swap buffers (or equivalent). QScreen::refreshRate() will also have to be reasonably accurate. [ChangeLog][Platform Specific Changes] The evdevtouch plugin now has the option to apply filtering and prediction. Enabled by passing "filtered" as an argument. Prediction can be specified by passing "prediction=X" as an argument, where X is in milliseconds. Change-Id: I682db4386fe3a7cef8b4a08ea0d16c1491efb873 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'qmake/generators/projectgenerator.cpp')
0 files changed, 0 insertions, 0 deletions