N64: Reduce N64 mouse sensibility a bit

svn-id: r48169
This commit is contained in:
Fabio Battaglia 2010-03-06 12:59:19 +00:00
parent cb71fd7240
commit 4f74853f93

View File

@ -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;