diff options
author | rsn8887 | 2018-01-04 06:02:19 -0600 |
---|---|---|
committer | rsn8887 | 2018-01-04 06:07:34 -0600 |
commit | 4e4a5892c81992ea1aa68a5867903cd87223b4f9 (patch) | |
tree | 4ebe2d614d422376fb5b03714ad856b8da1d8f18 /backends/platform/psp/osys_psp.cpp | |
parent | 231407206d91829980da18bfab2d0ae28b3fc9ad (diff) | |
download | scummvm-rg350-4e4a5892c81992ea1aa68a5867903cd87223b4f9.tar.gz scummvm-rg350-4e4a5892c81992ea1aa68a5867903cd87223b4f9.tar.bz2 scummvm-rg350-4e4a5892c81992ea1aa68a5867903cd87223b4f9.zip |
PSP: support mouse speed/joy deadzone options and smooth cursor motion
Diffstat (limited to 'backends/platform/psp/osys_psp.cpp')
-rw-r--r-- | backends/platform/psp/osys_psp.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/backends/platform/psp/osys_psp.cpp b/backends/platform/psp/osys_psp.cpp index 7812f7df28..314580fd37 100644 --- a/backends/platform/psp/osys_psp.cpp +++ b/backends/platform/psp/osys_psp.cpp @@ -66,6 +66,8 @@ void OSystem_PSP::initBackend() { ConfMan.registerDefault("aspect_ratio", false); ConfMan.registerDefault("gfx_mode", "Fit to Screen"); + ConfMan.registerDefault("kbdmouse_speed", 3); + ConfMan.registerDefault("joystick_deadzone", 3); // Instantiate real time clock PspRtc::instance(); @@ -112,7 +114,8 @@ void OSystem_PSP::engineDone() { } bool OSystem_PSP::hasFeature(Feature f) { - return (f == kFeatureOverlaySupportsAlpha || f == kFeatureCursorPalette); + return (f == kFeatureOverlaySupportsAlpha || f == kFeatureCursorPalette || + f == kFeatureKbdMouseSpeed || f == kFeatureJoystickDeadzone); } void OSystem_PSP::setFeatureState(Feature f, bool enable) { |