Fixed iOS joystick support for new API

This commit is contained in:
Sam Lantinga 2012-11-26 21:11:28 -08:00
parent ebdb9d4f98
commit 968ccf93b1
7 changed files with 76 additions and 20 deletions

View file

@ -661,13 +661,13 @@ SDL_PrivateJoystickNeedsPolling()
}
/* return the guid for this index*/
/* return the guid for this index */
JoystickGUID SDL_JoystickGetDeviceGUID( int device_index )
{
return SDL_SYS_PrivateJoystickGetDeviceID( device_index );
return SDL_SYS_PrivateJoystickGetDeviceGUID( device_index );
}
/* return the guid for this openeded device*/
/* return the guid for this opened device */
JoystickGUID SDL_JoystickGetGUID(SDL_Joystick * joystick)
{
return SDL_SYS_PrivateJoystickGetGUID( joystick );