Vibration code?
Monkey Targets Forums/iOS/Vibration code?
| ||
Anybody have code for using the vibration mechanism in ios? |
| ||
Diddy has support for StartVibrate(millisecs:int) and StopVibrate(). http://code.google.com/p/diddy/downloads/list |
| ||
Diddy only supports Vibration for Android... The method stubs are there, so if you find any code which we can easily plug in, I'll happily put it into Diddy ;) |
| ||
Useful info here: (near the bottom) http://blog.ablepear.com/2010/02/iphone-sdk-shake-rattle-roll.html |
| ||
Oops, I only looked in didi.ios.cpp if there is a vibrate command in it. |
| ||
therevills wrote: so if you find any code which we can easily plug in, I'll happily put it into Diddy AudioServicesPlaySystemSound(kSystemSoundID_Vibrate); |