equal
deleted
inserted
replaced
66 * the N'th joystick on the system. This index is the value which will |
66 * the N'th joystick on the system. This index is the value which will |
67 * identify this joystick in future joystick events. |
67 * identify this joystick in future joystick events. |
68 * |
68 * |
69 * This function returns a joystick identifier, or NULL if an error occurred. |
69 * This function returns a joystick identifier, or NULL if an error occurred. |
70 */ |
70 */ |
71 extern DECLSPEC SDL_Joystick * SDLCALL SDLCALL SDL_JoystickOpen(int device_index); |
71 extern DECLSPEC SDL_Joystick * SDLCALL SDL_JoystickOpen(int device_index); |
72 |
72 |
73 /* |
73 /* |
74 * Returns 1 if the joystick has been opened, or 0 if it has not. |
74 * Returns 1 if the joystick has been opened, or 0 if it has not. |
75 */ |
75 */ |
76 extern DECLSPEC int SDLCALL SDL_JoystickOpened(int device_index); |
76 extern DECLSPEC int SDLCALL SDL_JoystickOpened(int device_index); |