Vibration: allow BoardConfig to disable vibration for a device.

Change-Id: Ibd2f67391ce6d7774498839829e0de9391508781
This commit is contained in:
bigbiff bigbiff
2019-03-17 22:39:00 -05:00
committed by Ethan Yonker
parent 9220dbab44
commit 3ed778ad63
16 changed files with 73 additions and 0 deletions
Regular → Executable
+4
View File
@@ -208,7 +208,11 @@ int GUISlider::NotifyTouch(TOUCH_STATE state, int x, int y)
return 0;
if (sCurTouchX >= mRenderX + mRenderW - sTouchW) {
#ifndef TW_NO_HAPTICS
DataManager::Vibrate("tw_button_vibrate");
#endif
sAction->doActions();
}