implement lime.ui.Haptic.vibrate(...) for iOS
-Basic implementation, but works-
This commit is contained in:
committed by
Joshua Granick
parent
a361b4681e
commit
fe13ea21f3
21
project/include/ui/Haptic.h
Normal file
21
project/include/ui/Haptic.h
Normal file
@@ -0,0 +1,21 @@
|
||||
#ifndef LIME_UI_HAPTIC_H
|
||||
#define LIME_UI_HAPTIC_H
|
||||
|
||||
|
||||
namespace lime {
|
||||
|
||||
|
||||
class Haptic {
|
||||
|
||||
public:
|
||||
#ifdef IPHONE
|
||||
static void Vibrate (int period, int duration);
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user