include/SDL_joystick.h
changeset 905 e6ceebb0f0eb
parent 769 b8d311d90021
child 1312 c9b51268668f
equal deleted inserted replaced
904:34af7946130a 905:e6ceebb0f0eb
    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);