This commit is contained in:
Glenn Maynard
2003-02-14 04:18:52 +00:00
parent fbd61950ad
commit 788d3dd2ff
+1 -1
View File
@@ -332,7 +332,7 @@ void RageInput::Update( float fDeltaTime )
}
int iNumJoyHats = min(NUM_JOYSTICK_HATS,SDL_JoystickNumHats(pJoy));
for( int hat=0; axis<iNumJoyHats; hat++ )
for( int hat=0; hat<iNumJoyHats; hat++ )
{
Uint8 val = SDL_JoystickGetHat(pJoy,hat);
m_joyState[joy].button[JOY_HAT_UP] = (val & SDL_HAT_UP) != 0;