summaryrefslogtreecommitdiffstats
path: root/src/plugins
Commit message (Collapse)AuthorAgeFilesLines
* 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-3061-61/+61
| | | | | | | | | | | 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>
* Ensure the generic sensors pass on alwaysOnLincoln Ramsay2012-01-233-0/+3
| | | | | | | | Otherwise the sensors won't stay on when the screen turns off Change-Id: I9c8089495fa4247b4d7d2a9eefb269898757b911 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Zsolt Simon <zsolt.simon@nokia.com>
* Update obsolete contact address.Jason McDonald2012-01-2361-61/+61
| | | | | | | | 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>
* support for IR proximity sensor in the simulatorLincoln Ramsay2012-01-198-0/+174
| | | | | | | | Also requires a change to the simulator. Change-Id: I5086d3e49773975fc258f3f4481e643dbff33b15 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Zsolt Simon <zsolt.simon@nokia.com>
* Don't fire every second... only when data changes.Lincoln Ramsay2012-01-186-12/+6
| | | | | | Change-Id: I7a76a32eb2f23cbec5f097143aead4694a5cef7c Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* move simulator connection to a threadZsolt Simon2012-01-182-17/+81
| | | | | | Change-Id: Ice70c7f35315f50e82270961a38d6b130651f76d Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@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-0541-41/+41
| | | | | | Change-Id: I7fdedc329cf80f84f1f6e0c6c9da3f7d1ebcd70d Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* compile with strict warningsLincoln Ramsay2011-12-191-5/+5
| | | | | | | | | | | | Even though the code was converting between one enum and the other, it was continuing to use the old enum value, causing a warning. Map default: to Undefined so this always works (and never uses an uninitialized variable). Change-Id: Ic7da7efebccfb2733498251f67d4d25a56637f44 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Oliver Wolff <oliver.wolff@nokia.com>
* Remove ambientlightsensor dependency from qsensordata_simulatorOliver Wolff2011-12-193-3/+33
| | | | | | Change-Id: I5c2dca9787d1ec176dfb20553920a0347064003f Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@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>
* Don't qFatal!Lincoln Ramsay2011-12-071-2/+4
| | | | | | | | | Just warn and keep running. No sensor data will come but that's much better than killing the process that was running. Change-Id: I7cfe999450b3abf429a06b71448b63cc2626615c Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lorn Potter <lorn.potter@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>
* compileLincoln Ramsay2011-11-151-1/+1
| | | | | | | | | | The simulator plugin did not compile under OBS. While looking for other plugins that may be affected a junk file was discovered in the qsensor unit test. Change-Id: Ic28d703d8f80214739579b74c11e7cef9b1b4148 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* remove qmobilitypluginsearch and use the QFactoryLoader instead.Lorn Potter2011-11-144-6/+10
| | | | | | 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-017-0/+423
| | | | | | Change-Id: Iada4e8888aad8b7b2180cc0bfb8576a766f75b24 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Get the simulator backend goingLincoln Ramsay2011-10-2810-157/+131
| | | | | | Change-Id: Idbb4ba7b97be38f74f3a74e5d54c15209d5a788a Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Zsolt Simon <zsolt.simon@nokia.com>
* QtSensors: Compile on Windows.Friedemann Kleint2011-10-101-4/+27
| | | | | | | | | Add missing modules, re-introduce timestamp function. Change-Id: I0edbe8b012accfec5d619d53ebf136e75b99a456 Reviewed-on: http://codereview.qt-project.org/6072 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* QtmSensors, legacy sensors library.Lincoln Ramsay2011-08-251-0/+1
| | | | | | | | | | | | | | QtSensors will not remain source-compatible with Mobility. QtmSensors exists to provide a source-compatible API. QtmSensors is implemented as a wrapper over the QtSensors library. Only front end functionality is supported. Backends must be ported to QtSensors. Change-Id: Ia7e45b719fb5f84637f899374990dbd680e259bd Reviewed-on: http://codereview.qt.nokia.com/3348 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Zsolt Simon <zsolt.simon@nokia.com>
* Apply a consistent license on all the filesLincoln Ramsay2011-08-0531-62/+62
| | | | | | Change-Id: I9d04e244df0abcf1aa5aa43ac2057fe2c40e2eb9 Reviewed-on: http://codereview.qt.nokia.com/2594 Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
* remove qtimestampLincoln Ramsay2011-08-016-6/+6
| | | | | | | | | | Just use a quint64. Not binary compatible but source compatible. Change-Id: I240baeef905744f844f3c37b2739fd9a6562af15 Reviewed-on: http://codereview.qt.nokia.com/2412 Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* Update licenseheader text in source files for qtsensors Qt moduleJyri Tahtela2011-07-0831-535/+535
| | | | | | | | Replace old license header with correct one. Change-Id: I4ff0ca473033dfd846e8812acc21b3830dab6bdd Reviewed-on: http://codereview.qt.nokia.com/1372 Reviewed-by: Jyri Tahtela <jyri.tahtela@nokia.com>
* Fix mac dependencies for dummy sensor plug-in.Alex2011-06-151-1/+1
| | | | librt is not required/available for/on mac.
* make MacOS compileAlex2011-06-151-1/+1
|
* use MacOS specific monotonic timeAlex2011-06-141-1/+21
|
* Add dummy, generic and simulator backendAlex2011-06-1039-0/+2729
The Simulator backend is not working/tested at this stage as the simulator library is not available for Qt5 at this stage. In addtion the sensor_explorer test app was added for simple sensor testing.