|
Size: 870
Comment: update content (old wiki)
|
Size: 915
Comment: SDL_JoystickOpened was removed from API. SDL_JoystickGetAttached is similar.
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 1: | Line 1: |
| ## page was renamed from SDL_JoystickOpened |
DRAFT |
SDL_JoystickOpened
Use this function to get the status of a specified joystick.
Contents
Syntax
int SDL_JoystickOpened(int device_index)
Function Parameters
device_index |
the index of the joystick to query / *the N'th joystick on the system* |
Return Value
Returns 1 if the joystick has been opened, 0 if it has not, or a negative error code on failure; call SDL_GetError() for more information.
Code Examples
You can add your code example here
Remarks
You can add useful comments here
