mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-11 18:50:46 +00:00
Fix in_mouse 0 and in_joystick 0 not working
This commit is contained in:
parent
e4caea2f95
commit
0396f79c15
1 changed files with 2 additions and 2 deletions
|
@ -99,10 +99,10 @@ void CONTROL_GetInput(ControlInfo* info)
|
|||
{
|
||||
memset(info, 0, sizeof(ControlInfo));
|
||||
|
||||
if (in_mouse)
|
||||
if (in_mouse >= 0)
|
||||
inputState.GetMouseDelta(info);
|
||||
|
||||
if (in_joystick)
|
||||
if (in_joystick >= 0)
|
||||
{
|
||||
// Handle joysticks/game controllers.
|
||||
float joyaxes[NUM_JOYAXIS];
|
||||
|
|
Loading…
Reference in a new issue