mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-27 20:20:40 +00:00
- InputState: Scale dyaw/dpitch with regards to ticrate. All testing on initial uplift was with Duke at 30Hz. SW running at 40Hz therefore is not at the same speed as the others.
This commit is contained in:
parent
9e0bd569f7
commit
aa14ee1232
1 changed files with 2 additions and 2 deletions
|
@ -188,10 +188,10 @@ ControlInfo CONTROL_GetInput()
|
|||
|
||||
I_GetAxes(joyaxes);
|
||||
|
||||
hidInput.dyaw += -joyaxes[JOYAXIS_Yaw] * 45.f;
|
||||
hidInput.dyaw += -joyaxes[JOYAXIS_Yaw] * (1350.f / GameTicRate);
|
||||
hidInput.dx += -joyaxes[JOYAXIS_Side] * 0.75f;
|
||||
hidInput.dz += -joyaxes[JOYAXIS_Forward] * 0.75f;
|
||||
hidInput.dpitch += -joyaxes[JOYAXIS_Pitch] * 22.5f;
|
||||
hidInput.dpitch += -joyaxes[JOYAXIS_Pitch] * (675.f / GameTicRate);
|
||||
}
|
||||
|
||||
return hidInput;
|
||||
|
|
Loading…
Reference in a new issue