summaryrefslogtreecommitdiffstats
path: root/src/plugins/sensorgestures/shake/qshakerecognizer.h
diff options
context:
space:
mode:
authorLorn Potter <lorn.potter@nokia.com>2011-12-05 15:28:37 +1000
committerQt by Nokia <qt-info@nokia.com>2011-12-06 07:33:57 +0100
commit82644f8405291a55d52f9e874a3e0bcf313ac98f (patch)
tree835ad5ddf723a3d18ff3d822898e7432dc62e8d1 /src/plugins/sensorgestures/shake/qshakerecognizer.h
parent44255a0b3042633aec46cae0a6fc192d19389fb3 (diff)
add z and y axis accumulation for shake as well.
Change-Id: If20750a1772da7fc7dc3665f68950c5c0aa6d30c Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
Diffstat (limited to 'src/plugins/sensorgestures/shake/qshakerecognizer.h')
-rw-r--r--src/plugins/sensorgestures/shake/qshakerecognizer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/sensorgestures/shake/qshakerecognizer.h b/src/plugins/sensorgestures/shake/qshakerecognizer.h
index 07c12c1e..4f3f1551 100644
--- a/src/plugins/sensorgestures/shake/qshakerecognizer.h
+++ b/src/plugins/sensorgestures/shake/qshakerecognizer.h
@@ -92,6 +92,7 @@ private:
QTimer *timer;
int timerTimeout;
bool active;
+ int accelRange;
};
#endif // QSHAKERECOGNIZER_H