summaryrefslogtreecommitdiffstats
path: root/src/plugins/sensorgestures
Commit message (Collapse)AuthorAgeFilesLines
...
* whip is now too much like slam. so make whip be the old slam.Lorn Potter2012-03-222-62/+115
| | | | | Change-Id: Ib4be08e5fc828c24b00b0c90e0e9448603eef6bf Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* use const where possible.Lorn Potter2012-03-226-36/+36
| | | | | Change-Id: I2b78232c2ab25ebb7a931abcde18a9f01ff9c887 Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* slam is now performed differently.Lorn Potter2012-03-222-98/+62
| | | | | Change-Id: Ib04655cdc16a0f8fea73b88cf8e36d0f00ce16f3 Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* make slam easier and re-add orientation stuffLorn Potter2012-03-204-14/+38
| | | | | Change-Id: I7703a6abc537f317aa1186c919494faa866137fd Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* Use the new plugin mechanism for Sensors and SensorGesturesLincoln Ramsay2012-03-1612-12/+18
| | | | | | | | | | | | | | Plugins no longer use QFactoryInterface or Q_EXPORT_PLUGIN. Instead, Q_PLUGIN_METADATA is used. Meta-data is provided through a .json file that is embedded into the plugin by moc. For now, this meta-data is not actually used because both sensors and gestures use a dynamic registration mechanism. Change-Id: Ic82657e2ba5768127e13f7411ca51f60772781d8 Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Remove compile warningsLincoln Ramsay2012-03-155-13/+32
| | | | | Change-Id: I38c7b14653b96e905491a3fe589ece4aa027aed8 Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* fix some issues and make whip easierLorn Potter2012-03-086-52/+64
| | | | | Change-Id: I14f84219e07bcede9badc4f02566f38533084009 Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* fix crash by initializing orientationReading variableLorn Potter2012-03-055-14/+24
| | | | | Change-Id: I50fe25627bb761bfb5cb27c882946c13cdbcf56a Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* share sensors among the recognizers in QtSensors recognizer.Lorn Potter2012-03-0124-296/+642
| | | | | Change-Id: Ie08046de2e293b8b6271851ce8b740832a6de315 Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* small tweaks for simulatorLorn Potter2012-02-284-18/+74
| | | | | Change-Id: If2114b6917328e1342c5a2496daf9588393a8018 Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* optimize some gestures more. stop colliding.Lorn Potter2012-02-218-157/+131
| | | | | Change-Id: I77580905f460e87cc796df66f5cdf02156b7cca6 Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* sqrt => qSqrt, atan2 => qAtan2Lorn Potter2012-02-203-8/+8
| | | | | Change-Id: I2da59daada99184a166967fb0fe45fc5bae7eba1 Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* use qAbs instead.Lorn Potter2012-02-155-15/+15
| | | | | Change-Id: Ibcc49c56d558563737d2d94a87425e65d0689c1e Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Build fixYuchen Deng2012-02-151-3/+3
| | | | | | | | | | | error C2668: 'abs' : ambiguous call to overloaded function could be '__int64 abs(__int64)' or 'long abs(long)' or 'int abs(int)' while trying to match the argument list '(qreal)' Change-Id: Ie279096145d3d1cd5cd689555d70508f068f5f47 Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* finalize slam gesture, and fix up some others.Lorn Potter2012-02-154-46/+21
| | | | | Change-Id: I307492e32ea04d29d8f29cc91f40298d00ae7201 Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* add slam gestureLorn Potter2012-02-134-0/+305
| | | | | Change-Id: I0aa474d2398f59c0b766ed7fd7458ecd50b1fd4e Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* remove errant debug output redirection.Lorn Potter2012-02-101-45/+1
| | | | | Change-Id: I1b3a78395a689ea07e3b93293cac7a72d1f019af Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* fix hover and cover since prox driver output changed.Lorn Potter2012-02-084-27/+48
| | | | | Change-Id: Ic620a9012472c81f7f1bb15e450638745809effa Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* make emulator gesture plugin working in emulatorLorn Potter2012-02-074-6/+4
| | | | | Change-Id: I7cbc00ad75cac88a815eb43c937a10ec01d7023f Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* rename this as 'shake' collides and sensorgesturemanager ignores.Lorn Potter2012-02-021-1/+1
| | | | | | | | fixes sensorgesture simulator plugin. Change-Id: I5a880dad57ebe5e5f190913ea9c4a8745c09bd08 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* try harder to make sure gesture dont fire too easilyLorn Potter2012-02-0114-239/+371
| | | | | | | | | some gestures will fire when trying other gestures. Make sure they don't collide and provide false positives as much. Change-Id: I4abd7d9ee876b77a211ae1b46bcc56f4fdc64ec0 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* Remove "All rights reserved" line from license headers.Jason McDonald2012-01-3028-28/+28
| | | | | | | | | | | As in the past, to avoid rewriting various autotests that contain line-number information, an extra blank line has been inserted at the end of the license text to ensure that this commit does not change the total number of lines in the license header. Change-Id: I1ecfbf66a49bb91dd995d92c871ca36148adc645 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Update obsolete contact address.Jason McDonald2012-01-2328-28/+28
| | | | | | | | Replace Nokia contact email address with Qt Project website. Change-Id: Ie8628548cde5d3b251f319cbb6f33e6c08852d9e Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* improve whip sensor gestureLorn Potter2012-01-162-13/+13
| | | | | | Change-Id: I375815c5a0b42abe957170d85f08c394c19fdd6b Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* improve twist sensor gestureLorn Potter2012-01-162-6/+15
| | | | | | Change-Id: I0ce64843ad6f012862e8da8e08d2e7bb9cae0526 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Remove warnings and re-enable all gesture plugins.Lincoln Ramsay2012-01-134-4/+3
| | | | | | | | | | Enable these plugins for simulator builds or it becomes much harder to get notified of problems. Their presence does not cause a problem. Fix up the warnings so we can build with -Werror again. Change-Id: I2e9f6c2bd5f6156abdc4fa719c3a53962a9328d2 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* add new sensor gesturesLorn Potter2012-01-1221-3/+2098
| | | | | | Change-Id: Ided28e5d26af383b019d84ebb128c8ec6d6e3d34 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Update copyright year in license headers.Jason McDonald2012-01-0510-10/+10
| | | | | | Change-Id: I7fdedc329cf80f84f1f6e0c6c9da3f7d1ebcd70d Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* add simulator plugin for sensorgestures.Lorn Potter2011-12-088-1/+536
| | | | | | Change-Id: I7ec82ef7ee7795f6d8528f9ebd9d70b80435b7ea Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* add z and y axis accumulation for shake as well.Lorn Potter2011-12-062-26/+33
| | | | | | Change-Id: If20750a1772da7fc7dc3665f68950c5c0aa6d30c Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* remove qmobilitypluginsearch and use the QFactoryLoader instead.Lorn Potter2011-11-141-2/+3
| | | | | | Change-Id: Ifdd2031d309a5ac4cbeedc5d7cdb6ba9cbb845c3 Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com> Sanity-Review: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* add QSensorGestures API. Long live QSensorGestures!Lorn Potter2011-11-016-0/+422
Change-Id: Iada4e8888aad8b7b2180cc0bfb8576a766f75b24 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>