[SailfishDevel] QtSensors & SensorGesture
Lorn Potter
lorn.potter at jolla.com
Wed Jun 24 22:39:54 UTC 2015
On 19/06/15 05:07, Fab wrote:
> Hello everybody !
>
> This is my first post (and first SailfishOS app), so be indulgent :)
>
> I try to use SensorGesture within an app for the Jolla. I particularly
> want to use the shake gesture. I import for this QtSensors 5.x.
>
> But "onDetected" signal is never raised. availableGestures seems to be
> empty, at least.
>
> Am I missing something ?
>
> Thanks for the answer.
I have found that these ad-hoc sensor gestures are rather device
specific. Shake should work ok, as it is fairly generic.
I have written sailfish/jolla phone specific ones that also use the
gyroscope but have not yet integrated them into the image.
https://github.com/mer-qt/qtsensors/pull/4
and upstream:
https://codereview.qt-project.org/#/c/93172/
I can push these if more people are interested.
More information about the Devel
mailing list