Android: Add simple haptic feedback support

This commit is contained in:
Henrik Rydgård
2013-10-10 16:00:30 +02:00
parent c0c8df6155
commit ac1620137f
2 changed files with 32 additions and 2 deletions
+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) {