[SOLVED]Vibra interface for mobile ?



  • I know there is no vibra interface in the Qt Mobility, and we can use native API instead(e.g for symbian, we use hwrmvibraclient lib).
    But i still want to know, why isn't a vibra interface in Qt Mobility. Maybe we need a vibra effect some times, especially for game developing.

    Is there a plan of vibra API for Qt Mobility ? It's not difficult i think. :)



  • If you think it is not difficult, then by all means go ahead and contribute one. I am sure it would be very welcome!



  • [quote author="Andre" date="1306313611"]If you think it is not difficult, then by all means go ahead and contribute one. I am sure it would be very welcome![/quote]

    I just know how to do it on Symbian device using native API. Maybe i can write a wrapper for that, but i don't know if it's already under developing or plan. Andre, do you know if it was in the roadmap ?



  • Sorry, no, I don't know that. You could ask on IRC. At the freenode network, join #qt-mobility. That's were the people in the know on these topics hang out.



  • Hi,

    Actually, Qt Mobility does have support for haptic effects. The API is named "tactile feedback" rather than "haptics" which may be where your confusion stems from.

    http://doc.qt.nokia.com/qtmobility-1.1/feedback.html

    All of the major platforms are supported (or at least, have a backend of some sort available). On legacy Symbian it uses chwrm_vibra, on Symbian^3 it uses chwrm_haptics, on Maemo5 Fremantle I believe it uses Immersion. There is also a desktop "testing" plugin available http://qt.gitorious.org/qt-mobility/qt-mobility/merge_requests/23 which I believe is going to be merged in at some stage.

    Cheers,
    Chris.



  • @Chris, Very Clear. Thank you very much! :-)


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.