diff options
Diffstat (limited to 'gui/button.cpp')
-rwxr-xr-x[-rw-r--r--] | gui/button.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gui/button.cpp b/gui/button.cpp index dfae5e237..7c7f69f14 100644..100755 --- a/gui/button.cpp +++ b/gui/button.cpp @@ -248,7 +248,10 @@ int GUIButton::NotifyTouch(TOUCH_STATE state, int x, int y) } else { if (last_state == 0) { last_state = 1; + +#ifndef TW_NO_HAPTICS DataManager::Vibrate("tw_button_vibrate"); +#endif if (mButtonLabel != NULL) mButtonLabel->isHighlighted = true; if (mButtonImg != NULL) |