[Qt-qml] No hapic touch feedback (vibration) on Symbian

Juha Turunen turunen at iki.fi
Fri Feb 4 12:34:46 CET 2011


On Fri, Feb 4, 2011 at 1:12 PM, Cornelius Hald <hald at icandy.de> wrote:
> Hi,
>
> on Maemo5 and Symbian the user usually gets some haptic feedback if he
> touches the screen. With QML I still have that on Maemo5, but not on
> Symbian (Nokia 5880).
>
> Is there a way to enable it?

I believe QML bindings are for QtMobility's Feedback API are on their
way, but in the meantime you could use this:
https://gist.github.com/raw/757597/6bc1942e4f6194f097fa865bc96e8ef1633442e7/haptics.h
https://gist.github.com/raw/757597/d5e2d0341f6cadea3eb4b9f702746742e6ea96f6/haptics.cpp

The theme effects are listed here (if you want something else than the
basic tap): http://doc.qt.nokia.com/qtmobility-1.1.0-beta/qfeedbackeffect.html#ThemeEffect-enum

Juha


More information about the Qt-qml mailing list