Slight formatting tweak in Input.cpp
This commit is contained in:
parent
c26954a559
commit
1e902b009f
1 changed files with 2 additions and 2 deletions
|
@ -64,8 +64,8 @@ BOOL GetJoystickStatus(JOYSTICK_STATUS *status)
|
|||
numButtons = 32;
|
||||
|
||||
// Read whatever buttons actually exist
|
||||
int i;
|
||||
for (i = 0; i < numButtons; ++i)
|
||||
int i = 0;
|
||||
for (; i < numButtons; ++i)
|
||||
{
|
||||
if (SDL_JoystickGetButton(joystick, i) != 0)
|
||||
status->bButton[i] = TRUE;
|
||||
|
|
Loading…
Add table
Reference in a new issue