- bumped up the vertical mouse movement factor to 1/5 from 1/8.

1/8 was far too low for an average mouse
This commit is contained in:
Christoph Oelckers 2020-09-29 18:14:22 +02:00
parent 0bb9904338
commit a558703740

View file

@ -63,7 +63,7 @@ CVAR(Float, m_side, 1.f, CVAR_GLOBALCONFIG | CVAR_ARCHIVE)
void InputState::GetMouseDelta(ControlInfo * hidInput)
{
hidInput->mouseturnx = g_mousePos.x * m_yaw * (1.f / 4.f);
hidInput->mouseturny = g_mousePos.y * m_pitch * (1.f / 8.f);
hidInput->mouseturny = g_mousePos.y * m_pitch * (1.f / 5.f);
hidInput->mousemovex = g_mousePos.x * m_side;
hidInput->mousemovey = g_mousePos.y * m_forward;