mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-08 01:39:36 +00:00
add source-sdk-2013
This commit is contained in:
@@ -102,11 +102,7 @@ static ConVar m_mousespeed( "m_mousespeed", "1", FCVAR_ARCHIVE, "Windows mouse a
|
||||
static ConVar m_mouseaccel1( "m_mouseaccel1", "0", FCVAR_ARCHIVE, "Windows mouse acceleration initial threshold (2x movement).", true, 0, false, 0.0f );
|
||||
static ConVar m_mouseaccel2( "m_mouseaccel2", "0", FCVAR_ARCHIVE, "Windows mouse acceleration secondary threshold (4x movement).", true, 0, false, 0.0f );
|
||||
|
||||
#ifdef OSX
|
||||
static ConVar m_rawinput( "m_rawinput", "1", FCVAR_ARCHIVE, "Use Raw Input for mouse input.");
|
||||
#else
|
||||
static ConVar m_rawinput( "m_rawinput", "0", FCVAR_ARCHIVE, "Use Raw Input for mouse input.");
|
||||
#endif
|
||||
|
||||
#if DEBUG
|
||||
ConVar cl_mouselook( "cl_mouselook", "1", FCVAR_ARCHIVE, "Set to 1 to use mouse for look, 0 for keyboard look." );
|
||||
@@ -526,7 +522,7 @@ void CInput::ApplyMouse( QAngle& viewangles, CUserCmd *cmd, float mouse_x, float
|
||||
}
|
||||
else
|
||||
{
|
||||
viewangles[PITCH] += CAM_CapPitch( m_pitch->GetFloat() * mouse_y );
|
||||
viewangles[PITCH] += m_pitch->GetFloat() * mouse_y;
|
||||
}
|
||||
|
||||
// Check pitch bounds
|
||||
|
||||
Reference in New Issue
Block a user