mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
Hook CONTROL_MouseAxesScale[] up to mousex/mousey in ControlInfo
git-svn-id: https://svn.eduke32.com/eduke32@8126 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
b99ac8c4a0
commit
97fd50e1ec
1 changed files with 2 additions and 2 deletions
|
@ -123,8 +123,8 @@ static void CONTROL_GetMouseDelta(ControlInfo * info)
|
|||
last = input;
|
||||
}
|
||||
|
||||
info->mousex = Blrintf(finput.x * 4.f * CONTROL_MouseSensitivity);
|
||||
info->mousey = Blrintf(finput.y * 4.f * CONTROL_MouseSensitivity);
|
||||
info->mousex = mulscale16(Blrintf(finput.x * 4.f * CONTROL_MouseSensitivity), CONTROL_MouseAxesScale[0]);
|
||||
info->mousey = mulscale16(Blrintf(finput.y * 4.f * CONTROL_MouseSensitivity), CONTROL_MouseAxesScale[1]);
|
||||
}
|
||||
|
||||
static int32_t CONTROL_GetTime(void)
|
||||
|
|
Loading…
Reference in a new issue