- InputState: Proposed new sensitivity dividers now that mouse input is based on true pitch and true angle.

This commit is contained in:
Mitchell Richters 2020-10-07 23:25:36 +11:00
parent fca846272e
commit babd7b9556

View file

@ -62,8 +62,8 @@ 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 / 5.f);
hidInput->mouseturnx = g_mousePos.x * m_yaw * (1.f / 18.f);
hidInput->mouseturny = g_mousePos.y * m_pitch * (1.f / 14.f);
hidInput->mousemovex = g_mousePos.x * m_side;
hidInput->mousemovey = g_mousePos.y * m_forward;