summaryrefslogtreecommitdiffstats
path: root/gui/keyboard.cpp
diff options
context:
space:
mode:
authorDees Troy <dees_troy@teamw.in>2014-02-07 19:38:55 +0100
committerGerrit Code Review <gerrit2@gerrit>2014-02-07 19:38:55 +0100
commit50b24dd57c4266a34d238b2e7e3278312a685b2d (patch)
tree0c7be37f026aa24597356f26e0e6542aa5cf06fd /gui/keyboard.cpp
parentDisable alpha blending for non-transparent bitmaps (diff)
parentAdd haptic feedback (diff)
downloadandroid_bootable_recovery-50b24dd57c4266a34d238b2e7e3278312a685b2d.tar
android_bootable_recovery-50b24dd57c4266a34d238b2e7e3278312a685b2d.tar.gz
android_bootable_recovery-50b24dd57c4266a34d238b2e7e3278312a685b2d.tar.bz2
android_bootable_recovery-50b24dd57c4266a34d238b2e7e3278312a685b2d.tar.lz
android_bootable_recovery-50b24dd57c4266a34d238b2e7e3278312a685b2d.tar.xz
android_bootable_recovery-50b24dd57c4266a34d238b2e7e3278312a685b2d.tar.zst
android_bootable_recovery-50b24dd57c4266a34d238b2e7e3278312a685b2d.zip
Diffstat (limited to 'gui/keyboard.cpp')
-rw-r--r--gui/keyboard.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/gui/keyboard.cpp b/gui/keyboard.cpp
index 95cdbf1c8..97a980a4e 100644
--- a/gui/keyboard.cpp
+++ b/gui/keyboard.cpp
@@ -30,6 +30,7 @@
#include <time.h>
#include <unistd.h>
#include <stdlib.h>
+#include "../data.hpp"
#include <string>
@@ -388,6 +389,7 @@ int GUIKeyboard::NotifyTouch(TOUCH_STATE state, int x, int y)
switch (state)
{
case TOUCH_START:
+ DataManager::Vibrate("tw_vibrate");
if (GetSelection(x, y) == 0) {
startSelection = -1;
was_held = 0;
@@ -419,6 +421,7 @@ int GUIKeyboard::NotifyTouch(TOUCH_STATE state, int x, int y)
if (highlightRenderCount != 0)
mRendered = false;
highlightRenderCount = 0;
+ DataManager::Vibrate("tw_vibrate");
startSelection = 0;
}
break;