commit | 71e9b049c21fb01d558f49844d17e792c347a930 | [log] [tgz] |
---|---|---|
author | Samer Diab (S.a.M.e.R_d) <remasdiab@gmail.com> | Tue Jan 07 20:18:47 2014 +0000 |
committer | Gerrit Code Review <gerrit2@gerrit> | Thu Feb 06 20:27:28 2014 +0100 |
tree | a150e27f45af15339211d6f8333c6a03dba0b412 | |
parent | 4011c71f9813a9b3c13dab6ca01b69dddd6ec77b [diff] [blame] |
Add haptic feedback Change-Id: I15d723f73c0b0bb4a40645d1c3f4c1c616f36998
diff --git a/gui/button.cpp b/gui/button.cpp index be52c27..ca386be 100644 --- a/gui/button.cpp +++ b/gui/button.cpp
@@ -30,6 +30,7 @@ #include <time.h> #include <unistd.h> #include <stdlib.h> +#include "../data.hpp" #include <string> @@ -280,6 +281,7 @@ } else { if (last_state == 0) { last_state = 1; + DataManager::Vibrate("tw_vibrate"); if (mButtonLabel != NULL) mButtonLabel->isHighlighted = true; if (mButtonImg != NULL)