diff options
author | Fabio Battaglia | 2010-03-06 12:59:19 +0000 |
---|---|---|
committer | Fabio Battaglia | 2010-03-06 12:59:19 +0000 |
commit | 4f74853f93fe3c598b22163b42d7f4a2a22b712c (patch) | |
tree | b6f05cac1a47cbb27fcbe497324d0c7c03323e75 /backends/platform | |
parent | cb71fd72407e1fa3aaa778ac9655fc4ac58dd649 (diff) | |
download | scummvm-rg350-4f74853f93fe3c598b22163b42d7f4a2a22b712c.tar.gz scummvm-rg350-4f74853f93fe3c598b22163b42d7f4a2a22b712c.tar.bz2 scummvm-rg350-4f74853f93fe3c598b22163b42d7f4a2a22b712c.zip |
N64: Reduce N64 mouse sensibility a bit
svn-id: r48169
Diffstat (limited to 'backends/platform')
-rw-r--r-- | backends/platform/n64/osys_n64_events.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/backends/platform/n64/osys_n64_events.cpp b/backends/platform/n64/osys_n64_events.cpp index 50c23419c0..9a53051d3d 100644 --- a/backends/platform/n64/osys_n64_events.cpp +++ b/backends/platform/n64/osys_n64_events.cpp @@ -80,6 +80,7 @@ #define RELEASED_CD(now, before) (!CD_BUTTON(now) && CD_BUTTON(before)) #define MOUSE_DEADZONE 0 +#define MOUSE_SENSIBILITY 1.5f #define PAD_DEADZONE 1 #define PAD_ACCELERATION 15 #define PAD_CHECK_TIME 40 @@ -123,9 +124,9 @@ void OSystem_N64::readControllerAnalogInput(void) { // Mouse if (abs(pad_mouseX) > MOUSE_DEADZONE) - mx += pad_mouseX; + mx += (pad_mouseX / MOUSE_SENSIBILITY); if (abs(pad_mouseY) > MOUSE_DEADZONE) - my -= pad_mouseY; + my -= (pad_mouseY / MOUSE_SENSIBILITY); if (mx < 0) mx = 0; |