mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-04 03:33:44 +01:00
Add basic haptic feedback to on-screen touch buttons.
This commit is contained in:
1 parent
0fcba4e602
commit
5721836d44
6 files changed
+27
-13
No files matched your search
@@ -188,6 +188,7 @@ void Config::Load(const char *iniFileName, const char *controllerIniFilename)
|
||||
sound->Get("LowLatency", &bLowLatencyAudio, false);
|
||||
|
||||
IniFile::Section *control = iniFile.GetOrCreateSection("Control");
|
||||
control->Get("HapticFeedback", &bHapticFeedback, true);
|
||||
control->Get("ShowAnalogStick", &bShowAnalogStick, true);
|
||||
#ifdef BLACKBERRY
|
||||
control->Get("ShowTouchControls", &bShowTouchControls, pixel_xres != pixel_yres);
|
||||
@@ -356,6 +357,7 @@ void Config::Save() {
|
||||
sound->Set("LowLatency", bLowLatencyAudio);
|
||||
|
||||
IniFile::Section *control = iniFile.GetOrCreateSection("Control");
|
||||
control->Set("HapticFeedback", bHapticFeedback);
|
||||
control->Set("ShowAnalogStick", bShowAnalogStick);
|
||||
control->Set("ShowTouchControls", bShowTouchControls);
|
||||
// control->Set("KeyMapping",iMappingMap);
|
||||
|
||||
Reference in new issue
Block a user