aboutsummaryrefslogtreecommitdiffstats
path: root/code
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2006-02-08 18:06:20 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2006-02-08 18:06:20 +0000
commit3e3137f445a062c0708a444700ee971864391878 (patch)
tree4e284f6c7df88776596b9dce584a132d30c5e525 /code
parentf9576f4a1ecdf6dd7c31c91327bb34994d5feb3b (diff)
downloadioquake3-aero-3e3137f445a062c0708a444700ee971864391878.tar.gz
ioquake3-aero-3e3137f445a062c0708a444700ee971864391878.zip
* OS X/SDL mouse sensitivity fix
git-svn-id: svn://svn.icculus.org/quake3/trunk@537 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code')
-rw-r--r--code/unix/sdl_glimp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/code/unix/sdl_glimp.c b/code/unix/sdl_glimp.c
index 8ad6867..3c5dc6d 100644
--- a/code/unix/sdl_glimp.c
+++ b/code/unix/sdl_glimp.c
@@ -1282,7 +1282,11 @@ void IN_Init(void) {
in_joystickDebug = Cvar_Get ("in_debugjoystick", "0", CVAR_TEMP);
joy_threshold = Cvar_Get ("joy_threshold", "0.15", CVAR_ARCHIVE); // FIXME: in_joythreshold
+#ifdef MACOS_X
+ Cvar_Set( "cl_platformSensitivity", "1.0" );
+#else
Cvar_Set( "cl_platformSensitivity", "2.0" );
+#endif
if (in_mouse->value)
mouse_avail = qtrue;