Decreasing divisor for mouse axis reading - making mouse sensitivity practically much higher

This commit is contained in:
zicodxx 2008-05-19 21:58:49 +00:00
parent 2de6240191
commit 9af74225ed
3 changed files with 11 additions and 3 deletions

View file

@ -1,5 +1,9 @@
D1X-Rebirth Changelog
20080520
--------
main/kconfig.c: Decreasing divisor for mouse axis reading - making mouse sensitivity practically much higher
20080519
--------
main/mission.c, main/mission.h: Added support for another registered D1 HOG with different patching order... damn you PARALLAX!

View file

@ -29,6 +29,10 @@
#include "jukebox.h"
#include "console.h"
#include "fix.h"
#include "gr.h" // needed for piggy.h
#include "piggy.h"
#define MIX_DIGI_DEBUG 0
#define MIX_OUTPUT_FORMAT AUDIO_S16
#define MIX_OUTPUT_CHANNELS 2

View file

@ -1358,9 +1358,9 @@ void controls_read_all()
if (CONTROL_USING_MOUSE) {
//--------- Read Mouse -----------
mouse_get_delta( &dx, &dy, &dz );
mouse_axis[0] = (dx*FrameTime)/35;
mouse_axis[1] = (dy*FrameTime)/25;
mouse_axis[2] = (dz*FrameTime)/25;
mouse_axis[0] = (dx*FrameTime)/10;
mouse_axis[1] = (dy*FrameTime)/10;
mouse_axis[2] = (dz*FrameTime);
mouse_buttons = mouse_get_btns();
use_mouse=1;
} else {