Add vibrations to Checkbox, Fileselect, Listbox and Partitionlist
Signed-off-by: Vojtech Bocek <vbocek@gmail.com> Change-Id: I7b0e27930857add1ac88671a71310bea56fc4e74
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user