diff options
author | rsn8887 | 2017-02-19 20:14:51 -0600 |
---|---|---|
committer | rsn8887 | 2017-02-22 16:52:09 -0600 |
commit | 45bd7a8b75ebd8227ec4a09e427a66b1bb2796d1 (patch) | |
tree | 65495f6ebadda9cdbd0415f44d516be0381f6078 /common | |
parent | 085332a3dc8b006144f46b47b77d888d5ba9e467 (diff) | |
download | scummvm-rg350-45bd7a8b75ebd8227ec4a09e427a66b1bb2796d1.tar.gz scummvm-rg350-45bd7a8b75ebd8227ec4a09e427a66b1bb2796d1.tar.bz2 scummvm-rg350-45bd7a8b75ebd8227ec4a09e427a66b1bb2796d1.zip |
SDL: Fix erratic analog pointer + control options
Fixes erratic speeds in analog pointer motion
Implemented option to set analog/keyboard pointer speed
and control the analog joystick deadzone. The deadzone option appears
only if the build supports analog joystick (via JOY_ANALOG define)
Diffstat (limited to 'common')
-rw-r--r-- | common/system.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/common/system.h b/common/system.h index 1b03fb0a15..83bc457707 100644 --- a/common/system.h +++ b/common/system.h @@ -351,7 +351,18 @@ public: /** * swap menu and back buttons */ - kFeatureSwapMenuAndBackButtons + kFeatureSwapMenuAndBackButtons, + + /** + * keyboard mouse and joystick mouse speed + */ + kFeatureKbdMouseSpeed, + + /** + * change analog joystick deadzone + */ + kFeatureJoystickDeadzone + }; /** |