[SailfishDevel] Feedback / Haptics on Jolla Device

christopher.lamb at thurweb.ch christopher.lamb at thurweb.ch
Thu Nov 21 22:52:15 UTC 2013


Ciao Mariaon

Have you tried:

import QtFeedback 5.0

https://qt.gitorious.org/qt/qtfeedback/source/dea0da72655f1defccaea643dbe37373f6692243:doc/src/snippets/declarative/declarative-feedback.qml

Obviously your emulator won't vibrate ...8-)

Chris



Zitat von "Mariano Boragno" <marianoboragno at gmail.com>:

> Hi there,
>
> I'm porting a little game I wrote for Harmattan in QML which uses
> HapticsEffect from the "Qt Mobility 1.2 Feedback API". I've found that as
> per https://sailfishos.org/wiki/Porting/Harmattan, Qt5 QtFeedback Add-on
> could be used in Sailfish, but I haven't found much documentation about it.
>
> Is there any QML plugin (something like a wrapper) to use the add-on or
> should I interface the QML view with C++? Any suggestion, ideas?
>
> Thanks a lot in advance.
>
> Regards...
>
> ...Mariano Boragno...
>





More information about the Devel mailing list