mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-27 20:20:40 +00:00
- InputState: Proposed new sensitivity dividers now that mouse input is based on true pitch and true angle.
This commit is contained in:
parent
fca846272e
commit
babd7b9556
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue