diff options
author | rsn8887 | 2018-02-07 22:49:34 -0600 |
---|---|---|
committer | rsn8887 | 2018-02-08 00:19:41 -0600 |
commit | 86b1e74b282d8277275b85c63ba25784b6d8ce99 (patch) | |
tree | 8b97252a0834ef3d1ba479c0b9fc16b3203b0797 /backends/platform | |
parent | c6a705a7fec5fc676ee89a74e3c360052ca8b72e (diff) | |
download | scummvm-rg350-86b1e74b282d8277275b85c63ba25784b6d8ce99.tar.gz scummvm-rg350-86b1e74b282d8277275b85c63ba25784b6d8ce99.tar.bz2 scummvm-rg350-86b1e74b282d8277275b85c63ba25784b6d8ce99.zip |
PSP2: allow 'frontpanel_touchpad_mode=true' option in ScummVM.ini
Can change option to 'true' manually in scummvm.ini to force front
panel into indirect touchpad mode where the pointer doesn't jump
to finger.
Diffstat (limited to 'backends/platform')
-rw-r--r-- | backends/platform/sdl/psp2/psp2.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/backends/platform/sdl/psp2/psp2.cpp b/backends/platform/sdl/psp2/psp2.cpp index 29be31f267..3034b6d886 100644 --- a/backends/platform/sdl/psp2/psp2.cpp +++ b/backends/platform/sdl/psp2/psp2.cpp @@ -81,6 +81,7 @@ void OSystem_PSP2::initBackend() { ConfMan.registerDefault("joystick_deadzone", 2); ConfMan.registerDefault("shader", 0); ConfMan.registerDefault("touchpad_mouse_mode", false); + ConfMan.registerDefault("frontpanel_touchpad_mode", false); if (!ConfMan.hasKey("fullscreen")) { ConfMan.setBool("fullscreen", true); @@ -100,6 +101,10 @@ void OSystem_PSP2::initBackend() { if (!ConfMan.hasKey("touchpad_mouse_mode")) { ConfMan.setBool("touchpad_mouse_mode", false); } + if (!ConfMan.hasKey("frontpanel_touchpad_mode")) { + ConfMan.setBool("frontpanel_touchpad_mode", false); + } + // Create the savefile manager if (_savefileManager == 0) |