Android: Add simple haptic feedback support

This commit is contained in:
Henrik Rydgård committed 2013-10-10 16:00:30 +02:00
1 parent c0c8df6155
commit ac1620137f
2 files changed
+32 -2

No files matched your search

+3 -1
View File
@@ -64,7 +64,9 @@ void ShowKeyboard() {
void Vibrate(int length_ms) {
frameCommand = "vibrate";
frameCommandParam = "100";
char temp[32];
sprintf(temp, "%i", length_ms);
frameCommandParam = temp;
}
void LaunchBrowser(const char *url) {