commit | 3ed778ad6389c901077fee38bb77abd55dd4eba4 | [log] [tgz] |
---|---|---|
author | bigbiff bigbiff <bigbiff@teamw.in> | Tue Mar 12 19:28:31 2019 -0400 |
committer | Ethan Yonker <dees_troy@teamw.in> | Sun Mar 17 22:39:00 2019 -0500 |
tree | 57a2a9af729ca594387f71532797fb9d42bcc8cc | |
parent | 9220dbab44b3bf277c903ac0c99d09c53eec39c7 [diff] [blame] |
Vibration: allow BoardConfig to disable vibration for a device. Change-Id: Ibd2f67391ce6d7774498839829e0de9391508781
diff --git a/gui/slider.cpp b/gui/slider.cpp old mode 100644 new mode 100755 index fab5a2e..3c5f652 --- a/gui/slider.cpp +++ b/gui/slider.cpp
@@ -208,7 +208,11 @@ return 0; if (sCurTouchX >= mRenderX + mRenderW - sTouchW) { + +#ifndef TW_NO_HAPTICS DataManager::Vibrate("tw_button_vibrate"); +#endif + sAction->doActions(); }