From ba1b6f16ae042e5fdeb2e2c5968e1e5b1834ab88 Mon Sep 17 00:00:00 2001 From: Laszlo Agocs Date: Mon, 18 Jul 2011 13:44:47 +0300 Subject: Implement todos in touchscreen generic plug-in. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The patch implements periodic clearing of the point states when no activity occurs (i.e. no ev_syn is coming at all, meaning that most probably all the fingers are already up) and also moves the entire functionality into a separate thread even when used as a plug-in. Change-Id: Ib1daa738085b61af9b07eb8a284416e5a3fcabe8 Reviewed-on: http://codereview.qt.nokia.com/1744 Reviewed-by: Qt Sanity Bot Reviewed-by: Jørgen Lind --- src/plugins/generic/touchscreen/qtouchscreen.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/plugins/generic/touchscreen/qtouchscreen.h') diff --git a/src/plugins/generic/touchscreen/qtouchscreen.h b/src/plugins/generic/touchscreen/qtouchscreen.h index 915a213d41..80a6d3ac58 100644 --- a/src/plugins/generic/touchscreen/qtouchscreen.h +++ b/src/plugins/generic/touchscreen/qtouchscreen.h @@ -75,6 +75,7 @@ public: private slots: void readData(); + void onTimeout(); private: void try_udev(QString *path); -- cgit v1.2.3