From 5af8f3faca69918adb1a8a97f7f04b9618031c9b Mon Sep 17 00:00:00 2001 From: Vojtech Bocek Date: Sat, 8 Feb 2014 02:21:23 +0100 Subject: Add vibrations to Checkbox, Fileselect, Listbox and Partitionlist Signed-off-by: Vojtech Bocek Change-Id: I7b0e27930857add1ac88671a71310bea56fc4e74 --- gui/checkbox.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gui/checkbox.cpp') diff --git a/gui/checkbox.cpp b/gui/checkbox.cpp index b6d5e6348..8739c9c25 100644 --- a/gui/checkbox.cpp +++ b/gui/checkbox.cpp @@ -166,6 +166,8 @@ int GUICheckbox::NotifyTouch(TOUCH_STATE state, int x, int y) DataManager::GetValue(mVarName, lastState); lastState = (lastState == 0) ? 1 : 0; DataManager::SetValue(mVarName, lastState); + + DataManager::Vibrate("tw_button_vibrate"); } return 0; } -- cgit v1.2.3