<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hi,<br>
<br>
Just a quick note on that: not many theme effects are currently supported, and file effects are not supported. For best results, use a custom haptic effect, with manually tuned intensity and envelope values. You NEED to test on a real device, as haptics are
something which feel completely different on different devices even with the same intensity etc values, just depending on the type of vibra motor which is in the device, and any specifics of it (eg, the mass of the ERM, etc).<br>
<br>
The backend is <a href="https://github.com/nemomobile/qt-mobility-haptics-ffmemless" target="_blank">
https://github.com/nemomobile/qt-mobility-haptics-ffmemless</a> just fyi.<br>
<br>
Cheers,<br>
Chris.<br>
<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF894811"><font face="Tahoma" size="2" color="#000000"><b>From:</b> devel-bounces@lists.sailfishos.org [devel-bounces@lists.sailfishos.org] on behalf of Mariano Boragno [marianoboragno@gmail.com]<br>
<b>Sent:</b> Friday, November 22, 2013 3:17 PM<br>
<b>To:</b> Christopher Lamb<br>
<b>Cc:</b> Sailfish OS Developers<br>
<b>Subject:</b> Re: [SailfishDevel] Feedback / Haptics on Jolla Device<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr">Hi Chris,
<div><br>
</div>
<div>Well, that was sssoooo simple! I wasn't able to find any documentation, next time I will try to calm myself down and dig some more, lol!</div>
<div><br>
</div>
<div>Thanks a lot for the support, guys! I hope to submit my game soon to the harbour... :-)</div>
<div><br>
</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br clear="all">
<div>...Mariano Boragno...</div>
<br>
<br>
<div class="gmail_quote">On Thu, Nov 21, 2013 at 7:52 PM, <span dir="ltr"><<a href="mailto:christopher.lamb@thurweb.ch" target="_blank">christopher.lamb@thurweb.ch</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
Ciao Mariaon<br>
<br>
Have you tried:<br>
<br>
import QtFeedback 5.0<br>
<br>
<a href="https://qt.gitorious.org/qt/qtfeedback/source/dea0da72655f1defccaea643dbe37373f6692243:doc/src/snippets/declarative/declarative-feedback.qml" target="_blank">https://qt.gitorious.org/qt/<u></u>qtfeedback/source/<u></u>dea0da72655f1defccaea643dbe373<u></u>73f6692243:doc/src/snippets/<u></u>declarative/declarative-<u></u>feedback.qml</a><br>
<br>
Obviously your emulator won't vibrate ...8-)<br>
<br>
Chris<br>
<br>
<br>
<br>
Zitat von "Mariano Boragno" <<a href="mailto:marianoboragno@gmail.com" target="_blank">marianoboragno@gmail.com</a>>:
<div class="HOEnZb">
<div class="h5"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
Hi there,<br>
<br>
I'm porting a little game I wrote for Harmattan in QML which uses<br>
HapticsEffect from the "Qt Mobility 1.2 Feedback API". I've found that as<br>
per <a href="https://sailfishos.org/wiki/Porting/Harmattan" target="_blank">https://sailfishos.org/wiki/<u></u>Porting/Harmattan</a>, Qt5 QtFeedback Add-on<br>
could be used in Sailfish, but I haven't found much documentation about it.<br>
<br>
Is there any QML plugin (something like a wrapper) to use the add-on or<br>
should I interface the QML view with C++? Any suggestion, ideas?<br>
<br>
Thanks a lot in advance.<br>
<br>
Regards...<br>
<br>
...Mariano Boragno...<br>
<br>
</blockquote>
<br>
<br>
<br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</body>
</html>