Fixed iOS joystick support for new API
This commit is contained in:
parent
ebdb9d4f98
commit
968ccf93b1
7 changed files with 76 additions and 20 deletions
|
@ -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 );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue